---
title: "Get a paginated list of components in draft for the status page"
method: GET
path: "/stakeholder-comms/cloudId/{cloudId}/api/pages/{pageId}/components/draft/v2"
tags: ["Status Page"]
---

# Get a paginated list of components in draft for the status page

`GET /stakeholder-comms/cloudId/{cloudId}/api/pages/{pageId}/components/draft/v2`

Get a paginated list of components in draft for the status page

## Path parameters

- `pageId` string, required

## Query parameters

- `first` integer
- `after` string
- `last` integer
- `before` string

## Response `200`

Returned if the request is successful.

- StakeholderCommsNestedComponentConnection — Paginated response for draft components.
  - `components` StakeholderCommsNestedComponent[]
    - `id` string — Unique identifier of the component.
    - `name` string — Name of the component.
    - `pageId` string — Identifier of the page this component belongs to.
    - `serviceId` string — Identifier of the linked service.
    - `status` 'OPERATIONAL' | 'DEGRADED_PERFORMANCE' | 'PARTIAL_OUTAGE' | 'MAJOR_OUTAGE' | 'UNDER_MAINTENANCE' — Current status of the component.
    - `type` 'COMPONENT' | 'GROUP_COMPONENT' — Type of the component.
    - `description` string — Description of the component.
    - `position` integer — Display position of the component.
    - `components` StakeholderCommsNestedComponent[] — Nested sub-components (for group components).
  - `pageInfo` StakeholderCommsPageInfo — Pagination information.
    - `hasNextPage` boolean — Whether there is another page of results.
    - `endCursor` string — Cursor for the end of the current page.
    - `hasPreviousPage` boolean — Whether there is a previous page of results.
    - `startCursor` string — Cursor for the start of the current page.
  - `totalCount` integer — Total number of draft components.
  - `error` string — Error message, if the operation was not successful.

## Other responses

- `400` — Returned if the request is invalid.
- `401` — Returned if the authentication credentials are incorrect.
- `403` — Returned if the user does not have permission to view draft components for the page.
- `404` — Returned if the page is not found.
- `500` — Returned if an internal server error occurs.

---

[API](https://skmtc.dev/atlassian/apis/jsm-operations-api.md) · [All operations](https://skmtc.dev/atlassian/apis/jsm-operations-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atlassian/jsm-operations-api/revisions/ed65f017bcb8/schema)
