-
Notifications
You must be signed in to change notification settings - Fork 4
GET get_city_project
jokil123 edited this page Feb 12, 2022
·
1 revision
This route will retrieve a city project.
HTTP Verb: GET
/get_city_project/<id>
- the id (Primary key) of the row you would like to retrieve.
-
the request must include a header
authorization
. Its value must be the API key you have been given. Every key has access to all get routes and ownership of rows is not enforced.
If the request succeeds the API will respond with a city project JSON object of the following shape:
{
"id": number,
"country_id": number,
"name": string,
"description": string,
"visible": number
}
- This status code will be returned if the request suceeds. It will always be sent along with the response data.
- This status code will be returned if the auth header is missing.
- This status code will be returned if the API key is invalid