Read Space Page
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces/pages \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces/pages"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"address": "<string>",
"space": "<string>",
"title": "<string>",
"content_hash": "<string>",
"total_lines": 123,
"object": "space_page",
"path": "<string>",
"updated_at": "<string>",
"content": "<string>",
"start_line": 123,
"end_line": 123,
"truncated": true,
"next_start_line": 123,
"hint": "<string>",
"outline": [
{
"level": 123,
"text": "<string>",
"line": 123,
"end_line": 123
}
],
"section": {
"level": 123,
"text": "<string>",
"line": 123,
"end_line": 123
}
}Spaces
Read Space Page
Read a page whole, as an outline, one section, or a line range. Returns the content_hash edits need.
GET
/
api
/
v1
/
spaces
/
pages
Read Space Page
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces/pages \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces/pages"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"address": "<string>",
"space": "<string>",
"title": "<string>",
"content_hash": "<string>",
"total_lines": 123,
"object": "space_page",
"path": "<string>",
"updated_at": "<string>",
"content": "<string>",
"start_line": 123,
"end_line": 123,
"truncated": true,
"next_start_line": 123,
"hint": "<string>",
"outline": [
{
"level": 123,
"text": "<string>",
"line": 123,
"end_line": 123
}
],
"section": {
"level": 123,
"text": "<string>",
"line": 123,
"end_line": 123
}
}Query Parameters
Response
200 - application/json
OK
