GET
/
api-category
/
v1
/
category
/
source

Authorizations

Authorization
string
headerrequired

S2S access token (JWT) from fabric Identity service (during Login)

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Query Parameters

id
string

A 24-character system-generated category ID. id and nodeId are the two identifiers of a category and one of them must be specified.

nodeId
number

Numeric category ID. id and nodeId are the two identifiers of a category and one of them must be specified.

status
enum<string>

Status of Category source. If omitted, 'ASSIGNED' status is used as default.

Available options:
ASSIGNED,
UNASSIGNED
page
number
required

Page number to be retrieved. Applicable only in a paginated response and always paired with size.

size
number
required

Number of records per page. Applicable only in a paginated response and always paired with page.

Response

200 - application/json
totalSize
number

Total number of records (categories)

pageSize
number

Number of records (categories) in a page

pages
number

Number of pages for the given pageSize

id
string

A 24-character system-generated category ID

nodeId
number

Numeric category ID

name
string

Category name

sources
object[]