Sitecore API catalog/Components API//
- Get sites where specified component is allowed
Retrieve a component draft
Update a component draft
Update a component draft
Delete a component draft
List component drafts
Create a component draft
List components
Create a component
List component summaries
Retrieve a component
Update a component
Retrieve component metadata
Retrieve component variant metadata by ID
Generate a draft content type suggestion
Activate a component draft
Generate a component draft suggestion
Get sites where specified...
Returns an array of sites where the specified component is allowed.
Security
Bearer
- Production serverhttps://edge-platform.sitecorecloud.io/authoring/api/v1/components/{componentId}/sites
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://edge-platform.sitecorecloud.io/authoring/api/v1/components/C5F905F8-FD1F-444E-A9E5-AC6B774FF0DE/sites?environmentId=main' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Successful operation
Array [
]
Response
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "skate-park", "displayName": "Skate Park Website", "links": { … } } ]