Lingara Lingara 說明文件 學習指南 API 函式庫 App 建立 網頁版
語言: 繁體中文

app.disabled

API 版本 2026-10-golden-remora

Lingara → 你 app.disabled

有學習者暫停了你的應用程式。只有你的應用程式自己的用戶端會收到。如果學習者是透過授予存取權限安裝的,那麼在其恢復之前,你的用戶端為該學習者持有的存取權杖都會回傳 403 app_disabled,你也不會再收到關於該學習者的其他事件。app.enabled 會告訴你何時恢復。

權限範圍 events:read

傳遞方式 Webhook 事件源GET /v1/events 事件串流GET /v1/events/stream

酬載

idstring必填
typestring必填
created_atstring必填
api_versionstring必填
subjectstring必填
dataAppDisabledData必填
client_idstring必填
install_idstring必填

範例

{
  "id": "lgr_evt_11223344556677889900aabbccddeeff",
  "type": "app.disabled",
  "created_at": "2026-10-07T10:00:00Z",
  "api_version": "2026-09-equipped-boxfish",
  "subject": "lgr_sub_8f445eaad6febfab1731b2f8cb17c24e",
  "data": {
    "client_id": "lgr_cid_4hT9kQ2mZx7Lp1Vb8Nc3Rw",
    "install_id": "7c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f"
  }
}

如譯文與英文參考文件有出入,以英文參考文件為準。