Dimensions
Gets a list of Variants filtered by Ids or Short Names
<br>Gets all Variants if no 'ids' parameter is supplied. <br>Otherwise, it filters Variants based on 'ids' parameter. <br>Multiple 'ids' parameters can be passed in, separated by semi-column (i.e. '1;2;3').
get/api/v1/dimensions/variants/{param}
Request
- Base URLhttps://population.un.org/dataportalapi
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
paramstring required
Optional. It accepts either multiple 'Variant Short Names' (i.e. LOWER80;UPPER95;LOWER90) or multiple 'Variant Ids' (i.e. '1;2;3')
Query parameters
sortstring
Accepts field name to Sort by. For DESC Sort use hyphen ('-') prefix (i.e. '-id'). If not passed parameter defaults to ASC sort by 'sortOrder' field.
Response
Returns Status 200 OK
Changes
No recorded changes to this operation across all 2 revisions of this API.