File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments