Skip to content

Search for cloud objects

Request

Security
bearerToken
Bodyapplication/jsonrequired
cloudConnectionIdstringrequired

The unique ID for the CloudConnection to search in

Example:"e2b03444-8c5d-44ed-bd9f-7eee882bdf81"
criterionanyrequired
pageSizeinteger, [ 0 .. 1000 ]

The maximum number of items to return in the result set.

Default:100
Example:100
pageTokenstring or null

The page token to continue a previous search

Example:"hds7bs78bbw7v8w"
curl -i -X POST \
  https://api-v2.dash.app/cloud-object-searches \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "cloudConnectionId": "e2b03444-8c5d-44ed-bd9f-7eee882bdf81",
    "criterion": {
      "type": "FIELD_EQUALS",
      "field": "PARENT_ID",
      "value": {
        "type": "ROOT_FOLDER"
      }
    },
    "pageSize": 100,
    "pageToken": "hds7bs78bbw7v8w"
  }'

Responses

Success

Bodyapplication/json
resultsArray of anyrequired

The specified page of [CloudObject] resources which match the search criterion

nextPageobject or null
Response
{ "results": [ {} ], "nextPage": { "cloudConnectionId": "e2b03444-8c5d-44ed-bd9f-7eee882bdf81", "criterion": {}, "pageSize": 100, "pageToken": "hds7bs78bbw7v8w" } }