> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# publisherDocumentContentSectionsV2()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/publisher/v2/sections.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Returns the sections of document content. Content stored as `pages` becomes one untitled section with a generated id.

**Signature:**

```typescript
export declare function publisherDocumentContentSectionsV2(content: PublisherDocumentContentV2): IPublisherSectionV2[];
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| content | [PublisherDocumentContentV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherdocumentcontentv2/index.md) |  |

**Returns:**

[IPublisherSectionV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishersectionv2/index.md)[]

## Remarks

For content stored as `pages`, each call returns a new section id. Read once and keep the result for as long as the section must stay the same one.
