Sitecore API catalog/Pages API//
- Duplicate a page
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
Save page fields
Rename a page
Add a page version
Translate a page
Delete a version of a page
Duplicate a page
Creates a copy of a page.
Security
Bearer
Input data containing properties of the page
The language of the duplicated page. Example value: en-US
Example:"en-US"
The name for the new page. Example value: About Us Copy
Example:"About Us Copy"
- Production serverhttps://xmapps-api.sitecorecloud.io/api/v1/pages/{pageId}/duplicate
- 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/duplicate?environmentId=main' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"newName": "About Us Copy",
"site": "my-site",
"language": "en-US",
"displayName": "About Us Copy"
}'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" }