younifyd
Menu

Filtering Content Items By Collection Keys

Filtering Content Items by Collection Keys

POST/hubs/{hubId}/content-items/filter

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Filtering Content Items By Collection Keys action (under Content Items).
  3. Fill in the fields below, then reference the result from later steps as {{filteringContentItemsByCollectionKeys.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

Request body

Enter the body as JSON in the step's Body field.

collectionKeystringrequired

collectionKey

sortByobject
orderstring

sort order

One ofascdesc

pageobject
cursorstring

next page cursor

sizeinteger
json
{
  "collectionKey": "hubName:527c95fd10c77e96b5164633b445271ffc0392031b6c99448cbaec579767b76b",
  "sortBy": {
    "order": "asc"
  },
  "page": {
    "cursor": "SSBhbSBhIGhhdGNoZWQtZWFzdGVyLWVnZy4gUGxlYXNlIGRvbid0IGRlY29kZSBtZS4=",
    "size": 0
  }
}

Response

Returns 200 with a any. Read it in later steps with {{filteringContentItemsByCollectionKeys.response.data.<field>}}.

Need more? See the Amplience guide for connection setup and behaviour shared by every action.