Branding

List themes

Lists the themes a site can use, in display order, in one unpaged response. Set one with the theme field of Update customize settings.

GET
/sites/{site_id}/themes
cURL
curl --request GET \
  --url 'https://api.notiondesk.so/sites/{site_id}/themes' \
  --header 'Authorization: Bearer <token>'

Autoryzacje

  • Authorizationstringheader

    api_key · http · bearer

    read
  • Authorizationstringheader

    oauth · oauth2

    read

Parametry ścieżki

  • site_idstringwymagane

    The id of a site from List sites.

Nagłówki

  • nd-versionstring

    The contract version your integration was written against. Without it, the request uses the current version. An unknown value answers 400 invalid_version.

Odpowiedzi

Every theme the site can use.

Nagłówki

  • nd-versionstring

    The contract version that answered the request.

  • X-RateLimit-Limitinteger

    Requests allowed per minute: 120 for GET, 20 for writes, per key or OAuth grant.

  • X-RateLimit-Remaininginteger

    Requests left in the current window.

  • Retry-Afterinteger

    Seconds until the next request is accepted; 0 while requests remain.

  • objectstringwymagane
  • datawymagane
  • has_morebooleanwymagane
  • next_cursorstring | nullwymagane

    Pass it back as cursor to read the next page; null on the last page.