Skip to content

Read the current actor's trash or restore receipt

GET/v1/files/trash-operations/{operationId}

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

operationId*string
Format:uuid

Query Parameters

workplaceId*string
Format:uuid

Response Body

application/json

curl -X GET "https://example.com/v1/files/trash-operations/497f6eca-6276-4993-bfeb-53cbbbba6f08?workplaceId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",
  "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc",
  "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
  "occurredAt": "2019-08-24T14:15:22Z",
  "state": "trashed",
  "trashExpiresAt": "2019-08-24T14:15:22Z"
}