List all the sites with ads configured
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pagestringOptional
Identifier of the page results to fetch.
limitnumber · max: 1000Optional
The number of results per page
statusstring · enumOptionalDefault:
Filter sites by their ads review status
in-reviewPossible values: Header parameters
X-GitBook-Partner-KeystringRequired
Responses
200
OK
application/json
countnumberOptional
Total count of objects in the list
get/ads/sites
GET /v1/ads/sites HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
X-GitBook-Partner-Key: text
Accept: */*
200
OK
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"id": "text",
"url": "text",
"email": "text",
"topic": "webdev",
"status": "in-review"
}
]
}Last updated
Was this helpful?