Fetch a sitemap

Fetches the sitemap describing the publications within Content Delivery.

Request

URI: /v2/sitemap

HTTP Method: GET

Header params:
  • Content-Type: [application/xml]

Response

Success
  • XML: <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9&#x9;http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><url><loc>http://localhost:4444/LiveContent/content/en/LiveContentDoc/GUID-00C07F29-027C-4A54-A645-DFFF0BFE189E</loc><lastmod>2013-05-28T10:59:23.832-04:00</lastmod><changefreq>monthly</changefreq><priority>1.0</priority></url></urlset>
Failed
  • XML: <result message="Sitemap resource is not found!" messageKey="Sitemap resource is not found!" status="FAIL" statusCode="404" />

Permissions

"Use application"

Example

Request:

GET http://example.corp:8080/LiveContent/v2/sitemap

Response:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9&#x9;http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><url><loc>http://localhost:4444/LiveContent/content/en/LiveContentDoc/GUID-00C07F29-027C-4A54-A645-DFFF0BFE189E</loc><lastmod>2013-05-28T10:59:23.832-04:00</lastmod><changefreq>monthly</changefreq><priority>1.0</priority></url></urlset>