List websites
Retrieve a paginated list of websites belonging to the key creator.
Request
GET /sites accepts page, limit and optional q search text. Limit defaults to 20 and is capped at 50. Results belong only to the key creator.
curl --fail-with-body \
-H "Authorization: Bearer $BESTCOM_API_KEY" \
"https://app.bestcom.com.au/api/platform/developer/v1/sites?page=1&limit=20"Response
The response contains sites and pagination. Site entries include id, title, slug, status, version, created_at, updated_at, published_at and the canonical public URL. A draft entry can have a URL even though it is not publicly available.
{ "sites": [], "pagination": { "page": 1, "limit": 20, "total": 0, "pages": 0 } }