Topics
Gets a list of Topics filtered by 'Topic Short Name' or 'Topic Id'
<br>Filters Topics based on 'param' which can be either 'Topic Short Name' or 'Topic Id'
get/api/v1/topics/{codes}
Request
- Base URLhttps://population.un.org/dataportalapi
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
codesstring required
Accepts single or multiple 'Topic Short Names' (i.e. FERT;MORT;FP) or 'Topic Ids' (i.e. '1;2;3') separated by either semi-column or comma
Query parameters
sortstring
Accepts field name to Sort by. For DESC Sort use hyphen ('-') prefix (i.e. '-shortName'). If not passed parameter defaults to ASC sort by 'sortOrder' field
formatstring
Defines respose return format. Possible values are 'json' (default), 'xml' and 'csv'
Response
Returns Status 200 OK
Changes
No recorded changes to this operation across all 2 revisions of this API.