Get Wiki Page
curl --request GET \
--url https://omnicommerce.ai/api/v1/wiki/pages/{pageId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/wiki/pages/{pageId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/wiki/pages/{pageId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1",
"operationId": "<string>",
"status": "accepted",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
],
"links": {},
"data": {
"id": "<string>",
"organizationId": "<string>",
"title": "<string>",
"summary": "<string>",
"body": "<string>",
"status": "active",
"systemDefined": true,
"stale": true,
"appliesTo": [
{
"type": "store",
"id": "<string>",
"name": "<string>"
}
],
"labels": [
{
"label": "<string>",
"labelType": "pref",
"language": "<string>"
}
],
"revisionNumber": 123,
"lastConfirmedAt": "<string>",
"reviewBy": "<string>",
"indexStatus": "pending",
"createdAt": "<string>",
"updatedAt": "<string>",
"editors": [
"<string>"
],
"links": [
{
"id": "<string>",
"title": "<string>",
"summary": "<string>"
}
],
"backlinks": [
{
"id": "<string>",
"title": "<string>",
"summary": "<string>"
}
]
},
"jobId": "<string>"
}Wiki
Get Wiki Page
Read one page with its body, labels, linked pages and pages that link to it. Requires documents:read.
GET
/
api
/
v1
/
wiki
/
pages
/
{pageId}
Get Wiki Page
curl --request GET \
--url https://omnicommerce.ai/api/v1/wiki/pages/{pageId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/wiki/pages/{pageId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/wiki/pages/{pageId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"apiVersion": "developer_v1",
"operationId": "<string>",
"status": "accepted",
"warnings": [
"<string>"
],
"recommendations": [
"<string>"
],
"links": {},
"data": {
"id": "<string>",
"organizationId": "<string>",
"title": "<string>",
"summary": "<string>",
"body": "<string>",
"status": "active",
"systemDefined": true,
"stale": true,
"appliesTo": [
{
"type": "store",
"id": "<string>",
"name": "<string>"
}
],
"labels": [
{
"label": "<string>",
"labelType": "pref",
"language": "<string>"
}
],
"revisionNumber": 123,
"lastConfirmedAt": "<string>",
"reviewBy": "<string>",
"indexStatus": "pending",
"createdAt": "<string>",
"updatedAt": "<string>",
"editors": [
"<string>"
],
"links": [
{
"id": "<string>",
"title": "<string>",
"summary": "<string>"
}
],
"backlinks": [
{
"id": "<string>",
"title": "<string>",
"summary": "<string>"
}
]
},
"jobId": "<string>"
}Authorizations
Response
Wiki page.