API
If you are creating pages with the Confluence API and you want to turn on numbering, you can use the numbering API.
Configure page numbering
PUT
https://localhost:1990/confluence/rest/numberedheadings/1.0/page-configuration/:content-id
This endpoint allows to configure page numbering. You can effectively turn numbering on, turn numbering off, or configure formatting, anything that you can configure using the UI.
Path Parameters
Headers
The request payload that you should send for this request is as documented in Page properties.
Curl example
Configure space numbering
PUT
https://localhost:1990/confluence/rest/numberedheadings/1.0/space-configuration/:spacekey
This endpoint allows you to configure space numbering. You can effectively configure custom formatting through this endpoint.
Path Parameters
Headers
The request payload that you should send for this request is as documented in Page properties.
Curl example
Last updated