Entries/Places
Update clearance of places
Changed onUpdate the clearance of multiple places on behalf of the requesting organization.
Returns the number of created/updated clearance records.
If the given revision matches the current revision of that place then any pending clearance is deleted. Otherwise clearance will remain pending with the given revision stored as the new last cleared revision, i.e. any pending clearance is replaced.
Requests must include the API token of the organization.
post/places/clearance
Request
- Base URLhttps://api.ofdb.io/v0
- URLhttps://api.ofdb.io/v0/places/clearance
- Authnone declared
Request body
Example request
[
{
"place_id": "7cee99c287094a94acbdcf29ffff2e85",
"cleared_revision": 23
}
]Response
Successful response
Changes
- breaking
the
/request property format changed fromi64toint64
- breaking
- breaking
the
/request property format changed fromint64toi64 - breaking
the
response's property type changed fromintegertonumber, and format fromint64toi64for status
- breaking