Reminder: As of August 9th, the demo API key will only be allowed to make GET requests. Please see the announcement for more details.

Get the previous version of the Site Map

Last updated April 9, 2019

GET /content/api/v2/site-maps/:sitemap_id/versions/:version_id

Method Details

HTTP Methods:


Response Format:


Requires Authentication?


Rate Limited?






Get a specific revision of a site map. Version id is the id of the version from the list previous versions endpoint

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
sitemap_id Used in the request URL Unique identifier for a particular blog

JSON Fields returned in the response

Parameter name Type Description
created long When the site map was first created, in milliseconds since the epoch
deleted_at long When the site map was deleted, in milliseconds since the epoch. Zero if the site map was never deleted. Use a DELETE request to site map the page, do not set this directly.
id string The unique id of the topic
name string The internal name of the site map
pages_tree string The full JSON data for the tree structure
updated long When the site map was last updated, in milliseconds since the epoch