Get Space Page Version
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces/pages/versions/{version_number} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces/pages/versions/{version_number}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/spaces/pages/versions/{version_number}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"version_number": 123,
"change_summary": "<string>",
"actor_label": "<string>",
"id": "<string>",
"address": "<string>",
"space": "<string>",
"title": "<string>",
"total_lines": 123,
"content": "<string>",
"start_line": 123,
"end_line": 123,
"truncated": true,
"created_at": "<string>",
"actor_type": "<string>",
"user": "<string>",
"object": "space_page",
"path": "<string>",
"updated_at": "<string>",
"next_start_line": 123,
"hint": "<string>"
}Spaces
Get Space Page Version
Read the content of one version of a page.
GET
/
api
/
v1
/
spaces
/
pages
/
versions
/
{version_number}
Get Space Page Version
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces/pages/versions/{version_number} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces/pages/versions/{version_number}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/spaces/pages/versions/{version_number}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"version_number": 123,
"change_summary": "<string>",
"actor_label": "<string>",
"id": "<string>",
"address": "<string>",
"space": "<string>",
"title": "<string>",
"total_lines": 123,
"content": "<string>",
"start_line": 123,
"end_line": 123,
"truncated": true,
"created_at": "<string>",
"actor_type": "<string>",
"user": "<string>",
"object": "space_page",
"path": "<string>",
"updated_at": "<string>",
"next_start_line": 123,
"hint": "<string>"
}Response
200 - application/json
OK
