Kanorio

API 參考

Feed

Content Delivery API: GET /feed, GET /feed.atom

這頁只有英文版。API 參考、Webhook 事件與變更紀錄維持英文,和程式碼裡的欄位名稱、錯誤碼一致。
Base URL https://{site}/api/v1ErrorsPagination

Parameters

  • tagstring · query

    Filter by blog_tags slug

  • authorstring · query

    Filter by authors slug (the shared author list; blog_authors is the legacy key)

  • limitinteger · query
  • localestring · query

    Locale of the feed: post titles and summaries from that locale's published translations, links with the locale's URL prefix, and the feed language. One of the site's locales from /site (a code such as `en-US` or the URL prefix such as `en`); omit it for the primary locale. Other values, including locales that are still translating, return 400 UNSUPPORTED_LOCALE. Untranslated fields fall back to the primary locale.

Errors

  • INVALID_QUERY 400
  • UNSUPPORTED_LOCALE 400
curl -X GET "https://{site}/api/v1/feed"

Parameters

  • tagstring · query

    Filter by blog_tags slug

  • authorstring · query

    Filter by authors slug (the shared author list; blog_authors is the legacy key)

  • limitinteger · query
  • localestring · query

    Locale of the feed: post titles and summaries from that locale's published translations, links with the locale's URL prefix, and the feed language. One of the site's locales from /site (a code such as `en-US` or the URL prefix such as `en`); omit it for the primary locale. Other values, including locales that are still translating, return 400 UNSUPPORTED_LOCALE. Untranslated fields fall back to the primary locale.

Errors

  • INVALID_QUERY 400
  • UNSUPPORTED_LOCALE 400
curl -X GET "https://{site}/api/v1/feed.atom"