Get a Sitemap’s Index
| Version | Change |
|---|---|
| release-2021-06 | Initial support |
Required scope:
public-api:read
Description
This endoint returns a sitemap index containing links to individual sitemap files. The Sitemap Guide explains how to setup sitemaps for a Livingdocs delivery.Use Cases
- Provides a Sitemap Index for Deliveries (linked via robots.txt)
Endpoint
GET /api/2025-09/sitemaps/indexParameters
| Name | Type | Required | Notes |
|---|---|---|---|
| ?baseUrl | string | x | Base url of the delivery host. Example: ?baseUrl=https://livingdocs.io/ |
| ?contentTypes | string | A comma-separated list of contentTypes to include in the sitemap. Example: ?contentTypes=regular,pages | |
| ?entriesPerPage | string | Optional sitemap entry page size. Default 20000 |
Response
Get a Sitemap’s Entries
| Version | Change |
|---|---|
| release-2021-06 | Initial support |
Required scope:
public-api:read
Use Cases
- Provides Sitemap Entries for Deliveries
Endpoint
GET /api/2025-09/sitemaps/entriesParameters
| Name | Type | Required | Notes |
|---|---|---|---|
| ?baseUrl | string | x | Base url of the delivery host. Example: ?baseUrl=https://livingdocs.io/ |
| ?date | string | x | Date for the specific month matching the schema from the sitemap index file. Example: ?date=2021-06 or ?date=2021-06.2 |
| ?contentTypes | string | A comma-separated list of contentTypes to include in the sitemap. Example: ?contentTypes=regular,pages | |
| ?entriesPerPage | string | Optional sitemap entry page size. Default 20000 |