Entries/Places
Update an entry
Changed onThe edited entry must include the next version of this entry in the version field, where next version = current version + 1.
put/entries/{id}
Request
- Base URLhttps://api.ofdb.io/v0
- URLhttps://api.ofdb.io/v0/entries/{id}
- Auth
- HTTP bearer
- or API key in cookie ofdb-captcha
- or HTTP bearer
- or API key in cookie ofdb-user-email
Path parameters
idstring required
Identifier of a resource
Example:7cee99c287094a94acbdcf29ffff2e85
Request body
Example request
{
"lat": 37.2,
"lng": 120.7,
"contact_name": "John Smith",
"email": "john.smith@example.com",
"telephone": "001 123456789",
"homepage": "https://www.slowtec.de/",
"opening_hours": "24/7",
"founded_on": "1945-10-24",
"tags": [
"organic",
"non-profit"
],
"image_url": "https://www.slowtec.de/",
"image_link_url": "https://www.slowtec.de/",
"links": [
{
"url": "https://www.slowtec.de/"
}
]
}Response
Successful response
Changes
- info
the request property
////became optional - info
the request property
////became optional
- info
- info
the request property
////became optional
- info