Skip to content

Search for account themes

Request

Create a new ThemeSearch. This can be used to search for a theme by subdomain.

This endpoint is unauthenticated. Do not send a Bearer Token in the Authorization Header

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
criterionanyrequired
sortsArray of objectsrequired

This search does not accept any sorts, but has the sorts parameter anyway to fit in with other searches. You must always provide an empty list for this parameter.

Example:
[]
curl -i -X POST \
  https://api-v2.dash.app/theme-searches \
  -H 'Content-Type: application/json' \
  -d '{
    "from": 0,
    "pageSize": 100,
    "criterion": {
      "type": "FIELD_EQUALS",
      "value": "Folder",
      "field": "SUBDOMAIN"
    },
    "sorts": []
  }'

Responses

Success

Bodyapplication/json
resultsArray of objectsrequired

The specified page of Theme resources which match the search criterion

totalResultsintegerrequired

The total number of Theme resources which match the search criterion

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