Documentation preview. These pages target Registryctl v0.15.0, which is not published yet. Public download commands will not work until that release exists. For runnable released instructions, use v0.13.0.
List dataset measures
GET
/v1/datasets/{dataset_id}/measures
const url = 'https://data.example.test/v1/datasets/example/measures';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://data.example.test/v1/datasets/example/measures \ --header 'Authorization: Bearer <token>'Lists measure definitions declared by aggregates in social_registry.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”dataset_id
required
string
Dataset identifier
Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
data
required
Array<object>
object
aggregates
required
Array<object>
object
aggregate_id
required
string
edr_area_href
string
edr_collection_id
string
href
required
string
aggregation_method
required
string
column
string
decimals
integer | null
definition_uri
string | null format: uri
frequency
string | null
id
required
string
label
required
string
links
required
Array<object>
object
href
required
string
rel
required
string
type
string
key
additional properties
any
queryable_via
required
Array<string>
unit_measure
required
string
unit_multiplier
number | null
valid_dimensions
required
Array<string>
links
required
Array<object>
object
href
required
string
rel
required
string
type
string
key
additional properties
any
Examplegenerated
{ "data": [ { "aggregates": [ { "aggregate_id": "example", "edr_area_href": "example", "edr_collection_id": "example", "href": "example" } ], "aggregation_method": "example", "column": "example", "decimals": 1, "definition_uri": "https://example.com", "frequency": "example", "id": "example", "label": "example", "links": [ { "href": "example", "rel": "example", "type": "example" } ], "queryable_via": [ "example" ], "unit_measure": "example", "unit_multiplier": 1, "valid_dimensions": [ "example" ] } ], "links": [ { "href": "example", "rel": "example", "type": "example" } ]}Missing or invalid bearer credential.
Media typeapplication/problem+json
RFC 9457 Problem Details, returned for every non-2xx response.
object
code
required
string
detail
required
string
request_id
required
string
status
required
integer format: int32
title
required
string
type
required
string format: uri
key
additional properties
any
Example
{ "code": "auth.missing_credential", "detail": "no credential provided in Authorization or x-api-key header", "request_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "status": 401, "title": "Missing credential", "type": "https://id.registrystack.org/problems/registry-relay/auth/missing_credential"}Authenticated principal lacks the scope required for this operation.
Media typeapplication/problem+json
RFC 9457 Problem Details, returned for every non-2xx response.
object
code
required
string
detail
required
string
request_id
required
string
status
required
integer format: int32
title
required
string
type
required
string format: uri
key
additional properties
any
Example
{ "code": "auth.missing_credential", "detail": "no credential provided in Authorization or x-api-key header", "request_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "status": 401, "title": "Missing credential", "type": "https://id.registrystack.org/problems/registry-relay/auth/missing_credential"}default
Section titled “default”Problem Details error response.
Media typeapplication/problem+json
RFC 9457 Problem Details, returned for every non-2xx response.
object
code
required
string
detail
required
string
request_id
required
string
status
required
integer format: int32
title
required
string
type
required
string format: uri
key
additional properties
any
Example
{ "code": "auth.missing_credential", "detail": "no credential provided in Authorization or x-api-key header", "request_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "status": 401, "title": "Missing credential", "type": "https://id.registrystack.org/problems/registry-relay/auth/missing_credential"}