Get Space Proposal
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces/proposals/{proposal_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces/proposals/{proposal_id}"
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/proposals/{proposal_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"status": "<string>",
"address": "<string>",
"page": {
"id": "<string>",
"address": "<string>",
"space": "<string>",
"title": "<string>",
"object": "space_page",
"path": "<string>",
"updated_at": "<string>"
},
"summary": "<string>",
"proposed_by": {
"actor_type": "<string>",
"actor_label": "",
"user": "<string>"
},
"object": "space_change_proposal",
"base_hash": "<string>",
"created_at": "<string>",
"reviewed_at": "<string>",
"reviewed_by": "<string>",
"review_notes": "<string>",
"applied": true,
"message": "<string>",
"original_content": "<string>",
"proposed_content": "<string>",
"content_hash": "<string>",
"version_number": 123
}Spaces
Get Space Proposal
Read a proposal with the content it was made against and the content it proposes.
GET
/
api
/
v1
/
spaces
/
proposals
/
{proposal_id}
Get Space Proposal
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces/proposals/{proposal_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces/proposals/{proposal_id}"
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/proposals/{proposal_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"status": "<string>",
"address": "<string>",
"page": {
"id": "<string>",
"address": "<string>",
"space": "<string>",
"title": "<string>",
"object": "space_page",
"path": "<string>",
"updated_at": "<string>"
},
"summary": "<string>",
"proposed_by": {
"actor_type": "<string>",
"actor_label": "",
"user": "<string>"
},
"object": "space_change_proposal",
"base_hash": "<string>",
"created_at": "<string>",
"reviewed_at": "<string>",
"reviewed_by": "<string>",
"review_notes": "<string>",
"applied": true,
"message": "<string>",
"original_content": "<string>",
"proposed_content": "<string>",
"content_hash": "<string>",
"version_number": 123
}Response
200 - application/json
OK
A change to a page that was not applied: it waits for someone with write access to accept or reject it.
