Kanorio

API 參考

Access

Customer API: GET /access/{id}

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

Parameters

  • idstring · pathrequired
  • type"deliverable" | "unit" · query

Response 200

  • grantedbooleanrequired
  • reason"entitlement" | "preview" | "none" | "not_released" | "expired" | "hidden" | "prerequisite"required

    prerequisite: blocked by the course's require-in-order rule; access.lockedByUnitId is the unit to finish first.

  • availableAtstring | nullrequired
curl -X GET "https://{site}/api/v1/customer/access/{id}" \
  -H "Authorization: Bearer $KANORIO_CUSTOMER_TOKEN"