Get sites where specified component is allowed

Request

Returns an array of sites where the specified component is allowed.

Security
Bearer
Path
componentIdstringrequired

The component identifier.

Example:C5F905F8-FD1F-444E-A9E5-AC6B774FF0DE
Query
environmentIdstring

The environment identifier. Defaults to "main". Currently only "main" is supported.

Example:environmentId=main
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>'

Responses

Successful operation

Bodyapplication/json
Array [
idstring or null

The identifier of the site.

Example:"497f6eca-6276-4993-bfeb-53cbbbba6f08"
namestring or null

The name of the site.

Example:"skate-park"
displayNamestring or null

The display name of the site.

Example:"Skate Park Website"
]
Response
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "skate-park", "displayName": "Skate Park Website", "links": { … } } ]