Full replacement (PUT)
Indicator object with the domain populated.
Path parameters
ObjectId string of the indicator to update.
Request body
Display name of the indicator.
Measurement frequency.
Favourite count.
Governance classification flag.
ObjectId string of the domain to assign the indicator to. Must be an existing domain.
Subdomain name. Must exist in the specified domain’s subdomains list.
Longer description.
Data source attribution.
Measurement scale.
Unit of measurement.
Carrying capacity description.
Errors
| Status | Condition |
|---|---|
400 | indicator_id is not a valid ObjectId format |
400 | domain ID does not reference an existing domain |
400 | subdomain is not in the specified domain’s subdomains list |
404 | No indicator with the given ID exists |
422 | Request body is missing required fields or contains invalid types |
Example
Partial update (PATCH)
Indicator object with the domain populated.
Path parameters
ObjectId string of the indicator to update.
Request body
All fields are optional. Only fields present in the request body are written to the database.Display name.
Measurement frequency.
Favourite count.
Governance classification flag.
ObjectId string of the new domain. If provided alongside
subdomain, the subdomain is validated against the new domain.Subdomain name.
Longer description.
Data source attribution.
Measurement scale.
Unit of measurement.
Carrying capacity description.
Errors
| Status | Condition |
|---|---|
400 | indicator_id is not a valid ObjectId format |
400 | domain ID does not reference an existing domain |
400 | subdomain is not in the specified domain’s subdomains list |
404 | No indicator with the given ID exists |
Examples
Update only thefavourites count:
Link a resource
Indicator object.
Path parameters
ObjectId string of the indicator.
Request body
ID string of the resource to link.
Errors
| Status | Condition |
|---|---|
400 | indicator_id is not a valid ObjectId format |
404 | No indicator with the given ID exists |
Example
Get resources
Path parameters
ObjectId string of the indicator.
Response
An array of resource ID strings.200
Errors
| Status | Condition |
|---|---|
400 | indicator_id is not a valid ObjectId format |
404 | No indicator with the given ID exists |