Topics
Gets a list of all Topics
<br>Gets all Topics
get/api/v1/topics
Request
- Base URLhttps://population.un.org/dataportalapi
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageNumberinteger
Current response page number
pageSizeinteger
Page size of the request (defaults to 100, maximum 100)
pagingInHeaderboolean
Parameter defining whether Paging information is returned in 'x-pagination' Response Header as opposed to the Body of the Response (default)
sortstring
Field name used for record sorting. Must exist on a Model, otherwise error is thrown. Defaults to Ascending sort by 'id' field. Use hypehn (-) in front of the field name to switch sorting direction to Descending
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.