Installation API 參考
Platform API v1 的 Installation:每個操作的路徑、參數、請求與回應欄位、scope、冪等與錯誤,直接取自 API 合約。
由 API 合約(Agent Lab Platform API 1.0.0-alpha.1)產生。說明文字是合約的英文原文。
The installed application's own installation.
The calling installation#
GET /v1/installation
The installation the token belongs to: its workspace, its application, and the scopes an administrator granted, those awaiting approval, and those this token carries. A scope approved after the token was issued is in the next token, not this one.
| Scope | 身分 | 驗證方式 | Idempotency-Key |
|---|---|---|---|
| 無 | installation | installationToken | — |
回應
| 狀態碼 | 內容 | 說明 |
|---|---|---|
200 | application/json: Installation | The installation. |
401 | application/json: Error | No token, or a token the platform does not honor. |
403 | application/json: Error | The token does not carry every scope the operation declares (SCOPE_NOT_GRANTED, recovery: configure), or the member may not do this. |
429 | application/json: Error | Rate limited (recovery: retry). |
503 | application/json: Error | Try again later (recovery: retry). |