Skip to content

Search for asset embeddable links

Request

Create a new AssetEmbeddableLinkSearch. The criterion and sort currently support search by ASSET_ID field only.

Security
bearerToken
Bodyapplication/jsonrequired
fromintegerrequired

The item number to begin the result set from

Default:0
Example:0
pageSizeinteger, [ 0 .. 1000 ]required

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

Default:100
Example:100
criterionany
sortsArray of objects

Sorts to be applied to the search in order of precedence

curl -i -X POST \
  https://api-v2.dash.app/embeddable-link-searches \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "from": 0,
    "pageSize": 100,
    "criterion": {
      "type": "FIELD_IN",
      "values": [
        "this",
        "that"
      ],
      "field": "ASSET_ID"
    },
    "sorts": [
      {
        "field": "ASSET_ID",
        "order": "ASC"
      }
    ]
  }'

Responses

Success

Bodyapplication/json
resultsArray of objects

The specified page of AssetEmbeddableLink resources which match the search criterion

totalResultsinteger

The total number of AssetEmbeddableLink resources which match the search criterion

Example:15
Response
{ "results": [ {} ], "totalResults": 15 }