/public/<parentItemID>

You can get all the public items in your Content Network through an API or a filtered list.

Getting All Items

You can get the public items in your Content Network through an API.

API Request Details

You would need the following information to get the items.

URL

/api/v1/content/public/<parentItemID>

Request Type

GET

Content Type

application/json

Query Parameters

Refer to the table below.

Query Parameters

Name

Description

Type

Default Value

Example

Permissions

List the items that the user has specific permissions for

String

The supported values are list, read, write, delete. Multiple values can be sent using the & operator.

list

  • Getting items on which the tenant has list permission: /api/v1/content/public/1?permissions=list

  • Getting items on which the tenant has read and write permission: /api/v1/content/public/1?permissions=read&permissions=write

itemType

Specify the type of items needs to be fetched

String.

The supported values are:
  • PACKAGE

  • SUB-CATEGORY

  • ALL

ALL

Getting only the Folders: /api/v1/content/public/1?itemType=SUB-CATEGORY

tags

Specifies the tag IDs to filter the items

String

Multiple values can be sent using "&" operator.

[]

Getting the items that has the specified tag ID (s):

<apiHost>/api/v1/content/public/1?tags=<tag_ID_1>&tags=<tag_ID_2>

You can check the supported tags with their IDs in Predefined Content Network Package Tags.

Getting Filtered List of Permitted Items

Get a filtered list of permitted items

API Request Details

You would need the following information to get the list of permitted items.

URL

/api/v1/content/public/<parent_Item_ID>

Request Type

POST

Content Type

application/json

Query Parameters

Refer to the table below.

Query Parameters

Name

Description

Type

Default Value

Supported Values

Permissions

List the items that the user has specific permissions for.

String

list

The default value is LIST. The supported values are list, read, write, and delete. Multiple values can be sent using the & operator.

itemType

Specify the type of items needs to be fetched

String.

ALL

The supported values are:
  • PACKAGE

  • SUB-CATEGORY

  • ALL

tags

Specifies the tag IDs to filter the items

String

[]

You can check the supported tags with their IDs in Predefined Content Network Package Tags.