Skip to content

GET /anchor-measurements/{id}/

Resource describing a measurement targeted to an anchor.

GET /anchor-measurements/{id}/ — fields

Comma-separated list of fields to include in response, in addition to 'type' and 'id' which are always present. Optional fields can be listed here also.

GET /anchor-measurements/{id}/ — format[datetime]

Output datetimes in ISO-8601 format ('iso-8601' or 'json') or as seconds since the epoch ('unix' or 'timestamp')

GET /anchor-measurements/{id}/ — id

GET /anchor-measurements/{id}/ — include

Include additional fields named in comma-separated values in response as nested JSON objects.

GET /anchor-measurements/{id}/ — optional_fields

Comma-separated list of optional fields named to include in response objects.

GET /api/v2/anchor-measurements/{id}/

Resource describing a measurement targeted to an anchor.

Try it out

Playground

Authorization
Variables
Key
Value
Authorizations

Authorizations

api-key
Type
API Key (header: Authorization)
or
ripe-access
Type
API Key (cookie: crowd.token_key)
or
anonymous

No authentication required — this endpoint can be accessed anonymously.

Parameters

Path Parameters

id*
Type
string
Required
Pattern
"^\\d+$"

Query Parameters

fields

Comma-separated list of fields to include in response, in addition to 'type' and 'id' which are always present. Optional fields can be listed here also.

Type
string
format[datetime]

Output datetimes in ISO-8601 format ('iso-8601' or 'json') or as seconds since the epoch ('unix' or 'timestamp')

Type
string
Valid values
"iso-8601""json""timestamp""unix"
include

Include additional fields named in comma-separated values in response as nested JSON objects.

Type
string
Valid values
"target""measurement"
optional_fields

Comma-separated list of optional fields named to include in response objects.

Type
string
Valid values
"date_created""date_modified"
Responses

Responses

application/json
object

This mixin allows DateTimeField serializer-fields to be formatted with a query paramater
format[datetime]= unix|timestamp|json|iso-8601, where [unix,timestamp] and [json,iso-8601] are resp. aliases.

The mixin scans all fields to see if they are DateTimeFields and then set the format property to the
appropriate format.

id of this target measurement

URL of the actual measurement

Format"uri"

URL of the anchor to which the measurement is targeted

Format"uri"

Measurement type of the involved measurement

Samples