Read Items Bulk Operations Publish Item ids

get

/content/management/api/v1.1/bulkItemsOperations/publish/{statusId}/ids

Request

Path Parameters
Query Parameters
  • This parameter accepts a non negative integer and is used to control the size of the result.
    Default Value: 100
  • This parameter accepts a non negative integer and is used to control the start index of the result.
    Default Value: 0
  • This parameter accepts a boolean flag. If specified as true, then the returned result must include the total result count.
    Default Value: false
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : PublishItemIds
Type: object
Publish Item ids.
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : AggregationResult
Type: object
Show Source
Nested Schema : PublishedItemId
Type: object
Publish Item Id
Show Source
Nested Schema : channels
Type: array
channels
Show Source
Nested Schema : ChannelId
Type: object
ChannelId
Show Source

304 Response

Not modified.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

The following examples show how to get publish item IDs of an item bulk operation by submission of a GET request using cURL.

curl -i -X GET -H 'Accept:application/json' 'https://host:port/content/management/api/v1.1/bulkItemsOperations/publish/{statusId}/ids'

Example 1:

This reads publish item IDs of a successful item bulk operation with the operation ID: OPC12C04D0F3A84DC8974BF66BD7069EA1.

/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids

Response Body

{
        "hasMore": false,
        "offset": 0,
        "count": 2,
        "limit": 2,
        "items": [
          {
            "id": "CORED5710B874C0E459D9C5C87193FD7C36A",
            "type": "Type1",
            "version": "1",
            "slug": "1481786051169-item1",
            "channels": [
              {
                "id": "CC66DC0B9245E2F3712BC9B0211DC4BED717C50B6929"
              }
            ],
            "links": [
              {
                "href": "https://<hostname>/content/published/api/v1.1/items/CORED5710B874C0E459D9C5C87193FD7C36A?channelToken=ce83127a4a7b7438ec2d9400fafecf0a",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ]
          },
          {
            "id": "CONT86B1B61854A747D9BB4901903A98D2DF",
            "type": "DigitalAsset",
            "version": "1",
            "channels": [
              {
                "id": "CC66DC0B9245E2F3712BC9B0211DC4BED717C50B6929"
              }
            ],
            "links": [
              {
                "href": "https://<hostname>/content/published/api/v1.1/items/CONT86B1B61854A747D9BB4901903A98D2DF?channelToken=ce83127a4a7b7438ec2d9400fafecf0a",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ]
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=0",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
}
  

Example 2:

This reads publish item IDs of a successful item bulk operation with operation ID starting from offset 1: OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=1.

/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=1

Response Body

{
        "hasMore": false,
        "offset": 1,
        "count": 1,
        "limit": 2,
        "items": [
          {
            "id": "CONT86B1B61854A747D9BB4901903A98D2DF",
            "type": "DigitalAsset",
            "version": "1",
            "channels": [
              {
                "id": "CC66DC0B9245E2F3712BC9B0211DC4BED717C50B6929"
              }
            ],
            "links": [
              {
                "href": "https://<hostname>/content/published/api/v1.1/items/CONT86B1B61854A747D9BB4901903A98D2DF?channelToken=ce83127a4a7b7438ec2d9400fafecf0a",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ]
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=1",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=1",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=0",
            "rel": "prev",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/bulkItemsOperations/publish/OPC12C04D0F3A84DC8974BF66BD7069EA1/ids?offset=1",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
}
  
Back to Top