List Published Channels of an Item

get

/content/management/api/v1.1/items/{id}/publishedChannels

Lists all published channels of a given Item.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : ItemSubResourceListPublishedChannelId
Type: object
PublishedChannels
Show Source
Nested Schema : data
Type: array
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 example shows how to list published channels of an item by submitting a GET request using cURL.

curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/items/{id}/publishedChannels'

Example:

This lists all published channels of item id: CORE801AE9619AE94F3CA3E83C5C6D43D370.

/content/management/api/v1.1/items/CORE801AE9619AE94F3CA3E83C5C6D43D370/publishedChannels

Response Body

{
        "data": [
          {
            "id": "CC210646ADFC2D41F70155C01865795543D050035F70"
          },
          {
            "id": "CC3CF44049B94207BE552A345E74319B10F86A56D2F7"
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/items/CORE801AE9619AE94F3CA3E83C5C6D43D370/publishedChannels",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }
Back to Top