Collections

List collections in Application

[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

List campaign-level collections from all campaigns in a given Application.

get/v1/applications/{applicationId}/collections

Request

Path parameters

applicationIdinteger required

The ID of the Application. It is displayed in your Talon.One deployment URL.

Query parameters

pageSizeinteger

The number of items in the response.

skipinteger

The number of items to skip when paging through large result sets.

sortstring

The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with -.

Note: You may not be able to use all fields for sorting. This is due to performance limitations.

withTotalResultSizeboolean

When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.

  • When true: totalResultSize contains the total number of results for this query.
  • When false: Only hasMore is returned, and it is set to true when there are more results than shown on the page.
namestring

Filter by collection name.

Response

OK

hasMoreboolean
totalResultSizeinteger

Example response

{
  "totalResultSize": 1,
  "data": [
    {
      "id": 6,
      "created": "2020-06-10T09:05:27.993483Z",
      "accountId": 3886,
      "modified": "2021-09-12T10:12:42Z",
      "description": "My collection of SKUs",
      "subscribedApplicationsIds": [
        1,
        2,
        3
      ],
      "name": "My collection",
      "modifiedBy": 48,
      "createdBy": 134,
      "applicationId": 1,
      "campaignId": 7
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.