Skip to content

Commit 3366f71

Browse files
committed
Updated doc
1 parent b6464c6 commit 3366f71

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

design-proposals/vpro-kvm.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,44 @@ MPS Swagger documentation:
195195

196196
##### A. Authorization Endpoint (Token Generation)
197197

198-
TBD
198+
Generate authorization tokens from MPS for establishing KVM sessions
199+
200+
**Endpoint**: `GET /api/v1/authorize/redirection/{guid}`
201+
202+
**The authorization endpoint in swagger.json**:
203+
204+
<https://github.com/open-edge-platform/infra-external/blob/main/dm-manager/pkg/api/mps/swagger.json>
205+
206+
```json
207+
{
208+
"/api/v1/authorize/redirection/{guid}": {
209+
"get": {
210+
"summary": "Issue Short-lived Bearer Token for Redirection Sessions",
211+
"parameters": [
212+
{
213+
"name": "guid",
214+
"in": "path",
215+
"required": true,
216+
"schema": { "type": "string" }
217+
}
218+
],
219+
"responses": {
220+
"200": {
221+
"content": {
222+
"application/json": {
223+
"schema": {
224+
"properties": {
225+
"token": { "type": "string" }
226+
}
227+
}
228+
}
229+
}
230+
}
231+
}
232+
}
233+
}
234+
}
235+
```
199236

200237
##### B. WebSocket Relay Endpoint (KVM Session)
201238

0 commit comments

Comments
 (0)