GET
/
api-category
/
v1
/
category
/
attribute

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. Either id or nodeId must be specified.

nodeId
integer

Numeric category ID. Either nodeId or id must be specified.

status
enum<string>

Attribute status. When id or nodeId is specified along with status = Assigned, the response is faster because the data is fetched from cache. When the status is Unassigned, the data is fetched from the DB and the response could take longer.

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 (attributes)

pageSize
number

Number of records (attributes) 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
attributes
object[]