Skip to content

Get a cloud object

Request

Get a CloudObject

Security
bearerToken
Path
idstringrequired

The unique ID of the CloudConnection that the CloudObject belongs to

cloudObjectIdstringrequired

The unique ID of the CloudObject

curl -i -X GET \
  'https://api-v2.dash.app/cloud-connections/{id}/cloud-objects/{cloudObjectId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success

Bodyapplication/json
idstringrequired

Unique identifier of the cloud object

Example:"be161977-d44e-4888-af3c-66522e223963"
parentIdanyrequired
namestringrequired

The name of the cloud object. May or may not contain a file extension depending on the Cloud Drive implementation

Example:"My File"
typestringrequired

The cloud object type

Value:"FILE"
Discriminator
sizeintegerrequired

The size of the cloud file

Example:15318362
dateLastModifiedstringrequired

The datetime the cloud file was last modified in ISO datetime format

Example:"2021-02-17T09:24:01.417Z"
thumbnailUrlstring or null

URL for the file thumbnail if available

iconUrlstring or null

URL for the file icon if available

Response
{ "id": "be161977-d44e-4888-af3c-66522e223963", "parentId": { "type": "ROOT_FOLDER" }, "name": "My File", "type": "FILE", "size": 15318362, "dateLastModified": "2021-02-17T09:24:01.417Z", "thumbnailUrl": "string", "iconUrl": "string" }