List body start page tags.
get
/ccadmin/v1/sites/{siteId}/bodyStartTags
List the page tags at the start of the body section of the specified site.
Request
Supported Media Types
- application/json
Path Parameters
-
siteId: string
The repository ID of the site whose page tags are listed.
Query Parameters
-
fields(optional): string
This controls which fields are returned in the response body.
-
limit(optional): integer
This is the field to specify the number of records to be fetched per REST call.
-
offset(optional): integer
This field specifies the offset/starting index from which the data to be fetched.
-
q(optional): string
The search query string in SCIM format. Results will be filtered based on this query.
-
sort(optional): string
This field specifies the sort order of the list to be fetched.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listPageTags_response
Type:
Show Source
object
-
items(optional):
array items
The list of page tags in the head section of this site
-
limit(optional):
integer
The limit
-
offset(optional):
integer
The offset
-
sort(optional):
array sort
Array having the order and property of sites.
-
total(optional):
integer
The total count
-
totalResults(optional):
integer
The total results count
Nested Schema : items
Type:
array
The list of page tags in the head section of this site
Show Source
Nested Schema : items
Type:
Show Source
object
-
content(optional):
string
The page tag HTML
-
enabled(optional):
boolean
Whether the page tag should appear in the site's HTML
-
id(optional):
string
The page tag id generated on the server
-
name(optional):
integer
The name of the page tag
-
order(optional):
integer
1-based position of the page tag in the page tag list
Nested Schema : items
Type:
Show Source
object
-
order(optional):
string
The sort order: either asc or desc.
-
property(optional):
string
The property sorted on.
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.
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code