List your styleguide pages
curl --request GET \
--url https://enterprise-api.writer.com/styleguide/page \
--header 'Authorization: <authorization>'import requests
url = "https://enterprise-api.writer.com/styleguide/page"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://enterprise-api.writer.com/styleguide/page', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"totalCount": 123,
"pagination": {
"offset": 123,
"limit": 123
},
"result": [
{
"id": 123,
"title": "<string>",
"url": "<string>",
"order": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"section": {
"id": 123,
"title": "<string>",
"url": "<string>"
},
"updatedBy": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>"
}
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}Styleguide
List your styleguide pages
GET
/
styleguide
/
page
List your styleguide pages
curl --request GET \
--url https://enterprise-api.writer.com/styleguide/page \
--header 'Authorization: <authorization>'import requests
url = "https://enterprise-api.writer.com/styleguide/page"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://enterprise-api.writer.com/styleguide/page', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"totalCount": 123,
"pagination": {
"offset": 123,
"limit": 123
},
"result": [
{
"id": 123,
"title": "<string>",
"url": "<string>",
"order": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"section": {
"id": 123,
"title": "<string>",
"url": "<string>"
},
"updatedBy": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>"
}
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}We’re deprecating these API endpoints, so the AI Studio API key setup won’t work. [Contact support] (https://support.writer.com/) if you need them.
Was this page helpful?
⌘I