Sitecore API catalog/Pages API//
- Update field values
Retrieve a page
Delete a page
Retrieve a page state
Search for pages
Retrieve insert options
Retrieve page versions
Add a version to a page
List live variant identifiers for a page
Check if a page is published to Edge
Create a page
Create a page from blueprint
Save a page layout
Save page fields
Duplicate a page
Rename a page
Add a page version
Translate a page
Delete a version of a page
Update field values
Updates values of existing fields for a specific page.
Security
Bearer
Input data containing page field values
- Production serverhttps://xmapps-api.sitecorecloud.io/api/v1/pages/{pageId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- text/json
- application/*+json
curl -i -X PATCH \
'https://xmapps-api.sitecorecloud.io/api/v1/pages/8f0b81bc-7388-46be-b109-6e73d1114470?environmentId=main' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"versionNumber": 2,
"language": "en-US",
"fields": [
{
"name": "Title",
"value": "Welcome to our site"
}
]
}'Success
The page identifier. Example value: 8f0b81bc-7388-46be-b109-6e73d1114470
Example:"8f0b81bc-7388-46be-b109-6e73d1114470"
Response
{ "pageId": "8f0b81bc-7388-46be-b109-6e73d1114470", "name": "Home", "displayName": "Site Home", "path": "/sitecore/content/collection01/site01/Home/about" }