ProgressObjects
Restore objects from the trash
POST
With their statuses. Refused with 404 unless every id is in the project's trash.
Who may call it: Anyone on the project whose permission profile allows object.delete. API keys: yes, given object.delete for this project.
cookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
application/json- body
ids*array<>Tracked elements' ids (not GlobalIds).
Items
1 <= items <= 500Done; no content.
Example Request
curl -X POST 'http://localhost:3000/api/projects/string/objects/restore' \ -H 'Content-Type: application/json' \ -d '{ "ids": [ "string" ]}'Example Response
Empty
