List Wiki Pages
curl --request GET \
--url https://omnicommerce.ai/api/v1/wiki/pages \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/wiki/pages', 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"
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": {
"total": 123,
"pages": [
{
"id": "<string>",
"title": "<string>",
"summary": "<string>",
"aliases": [
"<string>"
],
"excerpt": "<string>",
"status": "active",
"systemDefined": true,
"stale": true,
"appliesTo": [
{
"type": "store",
"id": "<string>",
"name": "<string>"
}
],
"updatedAt": "<string>",
"updatedByName": "<string>"
}
]
},
"jobId": "<string>"
}Wiki
List Wiki Pages
List the organization’s wiki pages with title, aliases and an excerpt. Requires documents:read. Filter with q (title, alias, summary and fragment text) and status (active, stale, archived); sort by newest, title or most_used.
GET
/
api
/
v1
/
wiki
/
pages
List Wiki Pages
curl --request GET \
--url https://omnicommerce.ai/api/v1/wiki/pages \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/wiki/pages', 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"
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": {
"total": 123,
"pages": [
{
"id": "<string>",
"title": "<string>",
"summary": "<string>",
"aliases": [
"<string>"
],
"excerpt": "<string>",
"status": "active",
"systemDefined": true,
"stale": true,
"appliesTo": [
{
"type": "store",
"id": "<string>",
"name": "<string>"
}
],
"updatedAt": "<string>",
"updatedByName": "<string>"
}
]
},
"jobId": "<string>"
}Authorizations
Query Parameters
Response
Wiki pages.