Page redirects

List page redirects

Lists a site's page redirects in every language, newest first, including those Notiondesk creates when a slug changes.

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

Autorisierungen

  • Authorizationstringheader

    api_key · http · bearer

    read
  • Authorizationstringheader

    oauth · oauth2

    read

Pfadparameter

  • site_idstringerforderlich

    The id of a site from List sites.

Abfrageparameter

  • page_sizeinteger

    How many items a page holds. You may change it between pages; the next page starts where the previous one ended.

  • cursorstring

    The next_cursor of the previous page, passed back unchanged. The cursor is opaque; do not parse it or build one yourself.

Header

  • 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.

Antworten

A page of page redirects.

Header

  • 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.

  • objectstringerforderlich
  • dataerforderlich
  • has_morebooleanerforderlich
  • next_cursorstring | nullerforderlich

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