List head page tags.

get

/ccadmin/v1/sites/{siteId}/headTags

List the page tags in the head section of the specified site.

Request

Supported Media Types
Path Parameters
Query Parameters
  • This controls which fields are returned in the response body.
  • This is the field to specify the number of records to be fetched per REST call.
  • This field specifies the offset/starting index from which the data to be fetched.
  • The search query string in SCIM format. Results will be filtered based on this query.
  • This field specifies the sort order of the list to be fetched.
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listPageTags_response
Type: object
Show Source
Nested Schema : items
Type: array
The list of page tags in the head section of this site
Show Source
Nested Schema : sort
Type: array
Array having the order and property of sites.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "totalResults":1,
    "offset":0,
    "limit":20,
    "items":[
        {
            "name":"taya tag",
            "id":"8571b3a7-0a74-4516-978c-5090f31d8faf",
            "enabled":true,
            "content":"",
            "order":1
        }
    ]
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |52900|The page tag repository was not initialized.| |529010|The site ID in the path is invalid.| |52912|Missing request.| |52901|An error occurred performing the tag query.
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top