Sitecore API catalog/Pages API//
- Save page fields
Retrieve a page
Update field values
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
Duplicate a page
Rename a page
Add a page version
Translate a page
Delete a version of a page
Save page fields
Updates the fields of a page.
Security
Bearer
Input data containing fields of the page
The language of the page to save. Example value: en-US
Example:"en-US"
- Production serverhttps://xmapps-api.sitecorecloud.io/api/v1/pages/{pageId}/fields
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- text/json
- application/*+json
curl -i -X POST \
'https://xmapps-api.sitecorecloud.io/api/v1/pages/8f0b81bc-7388-46be-b109-6e73d1114470/fields?environmentId=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"fields": [
{
"id": "field-id-123",
"value": "Hello World",
"originalValue": "Original Text",
"reset": false
}
],
"language": "en-US",
"site": "my-site",
"pageVersion": 2,
"revision": "f7d29433-001e-4a35-a744-876759dba468"
}'Success
The list of errors that occurred during the save operation.
The list of validation errors that occurred during the save operation.
Response
{ "errors": [ { … } ], "savedPage": { "fields": [ … ], "id": "8f0b81bc-7388-46be-b109-6e73d1114470", "language": "en-US", "revision": "f7d29433-001e-4a35-a744-876759dba468", "version": 2 }, "validationErrors": [ { … } ], "warnings": [ "string" ], "newCreatedVersion": { "pageId": "8f0b81bc-7388-46be-b109-6e73d1114470", "displayName": "Site Home", "versionNumber": 2 } }