Storage
Get storage record
Returns the most recent storage record for a resource. Allowed when requesting your own user storage, or when you hold `canGet{ResourceType}Storage` on the resource.
Returns the most recent storage record for a resource. Allowed when requesting your own user storage, or when you hold canGet{ResourceType}Storage on the resource.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
resourceId*string
Format
uuidresourceType*string
Value in
- "user"
- "workspace"
- "project"
- "chat"
- "asset"
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/storage/user/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6", "resourceType": "user", "sizeInBytes": 0, "triggerEvent": "string", "triggerResourceId": "1335d8cc-f431-4ede-977c-c3d337b401ea", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}