Get a location
Changed onReturns a single location of the agenda (or of its shared location set) in the full Location shape.
Request
- Base URL: https://api.openagenda.com/v3
- URL: https://api.openagenda.com/v3/agendas/{agendaUid}/locations/{locationUid}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://openagenda.com/api/auth/oauth2/authorize, token URL https://openagenda.com/api/auth/oauth2/token, scopes: locations:read)
Path parameters
Numeric uid of the agenda.
Numeric uid of the location.
Response
The location.
Example response
{
"uid": 67890,
"slug": "chateau-des-lebres_4421007",
"setUid": null,
"name": "Château des Lèbres",
"address": "Naves, 07140 Les Vans",
"city": "Les Vans",
"district": null,
"region": "Auvergne-Rhône-Alpes",
"department": "Ardèche",
"adminLevel3": null,
"adminLevel5": null,
"postalCode": "07140",
"insee": "07334",
"countryCode": "FR",
"latitude": 44.388303,
"longitude": 4.105528,
"timezone": "Europe/Paris",
"description": {
"fr": "Ancienne maison forte des comtes du Roure."
},
"access": {},
"image": {
"width": 1200,
"height": 800,
"src": "https://img.openagenda.com/u/1080x0/main/67890.full.image.jpg",
"srcTemplate": "https://img.openagenda.com/u/{geo}/main/67890.full.image.jpg",
"srcset": [
{
"width": 640,
"url": "https://img.openagenda.com/u/640x0/main/67890.full.image.jpg"
},
{
"width": 1080,
"url": "https://img.openagenda.com/u/1080x0/main/67890.full.image.jpg"
}
]
},
"imageCredits": null,
"website": "http://www.domainedeslebres.com/",
"email": null,
"phone": "0475363414",
"links": [
"https://fr-fr.facebook.com/domainedeslebres/"
],
"extIds": [
{
"key": "legacy",
"value": "4421007"
}
],
"additionalFields": {
"tags": [
{
"id": 2,
"label": "Château, hôtel urbain, palais, manoir"
}
]
},
"siret": null,
"verified": true,
"createdAt": "2017-10-30T14:21:07.000Z",
"updatedAt": "2019-04-29T15:40:33.000Z"
}Changes
- info
added the optional property
///////to the response with the status
- info
- breaking
added to the response body
oneOflist for the response status - breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
added the new
bad_requestenum value to the/response property for the response status - warning
added the new
bad_requestenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
forbiddenenum value to the/response property for the response status - warning
added the new
insufficient_scopeenum value to the/response property for the response status - warning
added the new
insufficient_scopeenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
not_foundenum value to the/response property for the response status - warning
added the new
read_only_credentialenum value to the/response property for the response status - warning
added the new
read_only_credentialenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
service_unavailableenum value to the/response property for the response status - warning
added the new
unauthorizedenum value to the/response property for the response status - warning
added the new
unauthorizedenum value to the/response property for the response status
- breaking