Skip to main content

getSitemap

Get the project's sitemap.

Description​

Fetches the URLs of the project's generated sitemap files. Resolves to string[], e.g. ["https://your-project.oneentry.cloud/cloud-static/files/project/sitemap/sitemap-000.xml"]. Run updateSitemap() first if the sitemap hasn't been generated yet.

.getSitemap(

);

Examples​

Minimal example​

const response = await Sitemap.getSitemap();

Example response​

[
"https://your-project.oneentry.cloud/cloud-static/files/project/sitemap/sitemap-000.xml"
]

Response schema​

Schema: string[]