You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new API endpoint for listing codes available in GeoSight. Codes are used to build code lists, used for category-based indicators and define allowed values (categories) as indicator values. E.g. the type of indicator A is Category, it is associated with a code list Low-Medium-High. The code list consists of the following codes: Low, Medium, High. These will be the only allowed observation values for indicator A.
Implementation
GET /api/v1/code-list/{id}/codes
📒 Description:
A paginated list of code.
⬇️ Parameters:
name_contains={string}
⬆️ Returns:
results {array}:
id
name
description
value
count - number of records
page - current page
page_count - count of pages
next - number of next page
previous - number of previous page
The text was updated successfully, but these errors were encountered:
This is the child of: #151
Current API docs: https://geosight.unicef.org/api/v1/docs/
Objective
Create a new API endpoint for listing codes available in GeoSight. Codes are used to build code lists, used for category-based indicators and define allowed values (categories) as indicator values. E.g. the type of indicator A is
Category
, it is associated with a code listLow-Medium-High
. The code list consists of the following codes: Low, Medium, High. These will be the only allowed observation values for indicator A.Implementation
GET /api/v1/code-list/{id}/codes
The text was updated successfully, but these errors were encountered: