Developers
Menu
POSThttps://streetartcities.com/api/edits/{id}/revert

Undo an accepted edit, restoring the fields it changed. Only works if the entity hasn't changed since. Merges and deletions can't be reverted.

Path parameters

idstringrequired

Request body

reviewCommentstring

Requirements

Needs an access token. When using OAuth, the token needs the edits:review scope.

Responses

200 The reverted edit

editEditrequired

400 Invalid request

errorstringrequired

401 Not logged in

errorstringrequired

403 No permission

errorstringrequired

404 Not found

errorstringrequired