Generate Blog Sitemap
GET
/api/v1/posts/seo/sitemap.xml
Responses
XML sitemap
application/xml
XML
Generate the blog SEO sitemap.
Auth: public.
Parameters
None.
Request Body
None.
Response 200
xml
<urlset>
<url>
<loc>https://your-site.com/blog/hello-world</loc>
</url>
</urlset>Response Errors
500sitemap generation error
Notes
- Useful for search engine indexing.
- Keep it wired to the currently published content only.