ข้อมูลอ้างอิง API: Installation
Platform API v1 ส่วน Installation: path, พารามิเตอร์, ฟิลด์ของคำขอและคำตอบ, scope, idempotency และข้อผิดพลาดของทุก operation จาก contract
สร้างจาก API contract (Agent Lab Platform API 1.0.0-alpha.1) คำอธิบายเป็นภาษาอังกฤษตามต้นฉบับใน contract
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). |