Skip to main content

getSitemap

Getting the sitemap of the project.

Description

This method retrieves the sitemap of the project - a structured list of all pages with their URLs, last modification dates, change frequencies, and priorities. It returns a Promise that resolves to an array of ISitemapEntity objects.

Sitemap.getSitemap(

);

Parameters schema

Schema

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: ISitemapEntity[]