country
Get a list of subdivs by country with paging and filtering
get/country/{country_id}/subdiv
Request
- Base URLhttps://submitapi.dvidshub.net
- AuthOAuth 2Authorization codehttps://api.dvidshub.net/auth/authorizeToken URLhttps://api.dvidshub.net/auth/access_tokenScopesbasic, email, upload
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
namestring
Example:Mexi
Search by subdiv name. A trailing wildcard is used in search to "complete" the entered value.
pageinteger
Page number of results
limitinteger
Limit of results per page
Response
An array of CountrySubdiv objects
Example response
{
"data": [
{
"attributes": {
"name": "Texas",
"full_name": "The Republic of Texas"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.