Map-Data_Road-Editor
Get a restriction by id
get/restrictions/{id}
Request
- Base URLhttps://api.nextbillion.io
- AuthAPI key in query parameter key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Unique ID of the restriction. This is the ID that was generated at the time of creating the restriction.
Query parameters
transformboolean
a internal parameter
keystring 32 character alphanumeric string required
Example:key=API_KEY
A key is a unique identifier that is required to authenticate a request to the API.
Response
Example response
{
"bbox": {
"minLat": 0,
"minLon": 0,
"maxLat": 1,
"maxLon": 1
},
"repeat_on": "Mo-Fr 07:00-09:00,17:00-19:00"
}Changes
No recorded changes to this operation across all 15 revisions of this API.