Request

Retrieves one page of source items for a specified field in a selected content type. Pass the response continuationToken in the x-sc-continuation header to retrieve the next page. A field source can contain multiple Sitecore query segments, for example query:$site/*[@@name='Data']|query:$sharedSites/*[@@name='Data']. Example hand-off header: x-sc-continuation: eyJzb3VyY2VJbmRleCI6MSwibmV4dEl0ZW0iOjI1fQ==. Each returned item includes sourceIndex, the zero-based segment from which it originated.

Security
Bearer
Path
modelIdstringrequired

The content type identifier.

Example:model-id
fieldIdstringrequired

The field identifier.

Example:field-id
Query
siteIdstring

The site identifier.

Example:siteId=site-id
environmentIdstring

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

Example:environmentId=main
pageSizeinteger, (int32)

The maximum number of source items to return.

Example:pageSize=10
Headers
x-sc-continuationstring

The continuation token returned by a previous response.

Example:token-from-previous-response
curl -i -X GET \
  'https://edge-platform.sitecorecloud.io/authoring/api/v1/content-types/model-id/field-id/source?siteId=site-id&environmentId=main&pageSize=10' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'x-sc-continuation: token-from-previous-response'

Responses

OK

Bodyapplication/json
dataArray of objects or null(FieldSourceElementPaged)

The source items in the current page.

continuationTokenstring or null

The opaque token for retrieving the next page, or null when complete.

Response
{ "data": [ { … } ], "continuationToken": "string" }