mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 19:58:28 +02:00
access endpoint tweaks (#834)
This commit is contained in:
@@ -1006,12 +1006,20 @@ paths:
|
||||
- name: body
|
||||
in: body
|
||||
schema:
|
||||
$ref: "#/definitions/accessRequest"
|
||||
properties:
|
||||
envZId:
|
||||
type: string
|
||||
shrToken:
|
||||
type: string
|
||||
responses:
|
||||
201:
|
||||
description: access created
|
||||
schema:
|
||||
$ref: "#/definitions/accessResponse"
|
||||
properties:
|
||||
frontendToken:
|
||||
type: string
|
||||
backendMode:
|
||||
type: string
|
||||
401:
|
||||
description: unauthorized
|
||||
404:
|
||||
@@ -1118,21 +1126,6 @@ paths:
|
||||
$ref: "#/definitions/errorMessage"
|
||||
|
||||
definitions:
|
||||
accessRequest:
|
||||
type: object
|
||||
properties:
|
||||
envZId:
|
||||
type: string
|
||||
shrToken:
|
||||
type: string
|
||||
|
||||
accessResponse:
|
||||
type: object
|
||||
properties:
|
||||
frontendToken:
|
||||
type: string
|
||||
backendMode:
|
||||
type: string
|
||||
|
||||
authUser:
|
||||
type: object
|
||||
|
Reference in New Issue
Block a user