Appearance
GET
/web-pages/draft/drafts/{draftId}/sectionsRequired scope:
viskan:draft:readReturns a list of sections in a draft.
Parameters
Path parameters
draftId string Format:
uuidIdentifier of the draft. A draft is a workspace that holds unpublished changes to web store content.
Response
A list of sections.
JSON
[
{
"sectionId": "e7f65f98-e2a6-4ffd-a985-6e6a4180f5e0",
"sectionName": "Start Page Hero",
"sectionDescription": "Section for the start page displaying an image and text",
"sectionType": "IMAGE_AND_TEXT",
"status": "MODIFIED"
}
]
| Error code | Description |
|---|---|
web-pages.list-sections.draft-not-found | Draft not found. |