mirror of
https://github.com/openziti/zrok.git
synced 2025-08-09 08:05:04 +02:00
identities -> 'environments'
This commit is contained in:
@ -35,6 +35,7 @@ paths:
|
||||
description: internal server error
|
||||
schema:
|
||||
$ref: "#/definitions/errorMessage"
|
||||
|
||||
/enable:
|
||||
post:
|
||||
tags:
|
||||
@ -55,22 +56,24 @@ paths:
|
||||
description: internal server error
|
||||
schema:
|
||||
$ref: "#/definitions/errorMessage"
|
||||
/listIdentities:
|
||||
|
||||
/listEnvironments:
|
||||
get:
|
||||
tags:
|
||||
- metadata
|
||||
security:
|
||||
- key: []
|
||||
operationId: listIdentities
|
||||
operationId: listEnvironments
|
||||
responses:
|
||||
200:
|
||||
description: success
|
||||
schema:
|
||||
$ref: "#/definitions/identities"
|
||||
$ref: "#/definitions/environments"
|
||||
500:
|
||||
description: internal server error
|
||||
schema:
|
||||
$ref: "#/definitions/errorMessage"
|
||||
|
||||
/login:
|
||||
post:
|
||||
tags:
|
||||
@ -88,6 +91,7 @@ paths:
|
||||
$ref: "#/definitions/loginResponse"
|
||||
401:
|
||||
description: invalid login
|
||||
|
||||
/tunnel:
|
||||
post:
|
||||
tags:
|
||||
@ -160,6 +164,7 @@ definitions:
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
|
||||
enableResponse:
|
||||
type: object
|
||||
properties:
|
||||
@ -167,13 +172,12 @@ definitions:
|
||||
type: string
|
||||
cfg:
|
||||
type: string
|
||||
errorMessage:
|
||||
type: string
|
||||
identities:
|
||||
|
||||
environments:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/definitions/identity"
|
||||
identity:
|
||||
$ref: "#/definitions/environment"
|
||||
environment:
|
||||
type: object
|
||||
properties:
|
||||
zitiId:
|
||||
@ -184,6 +188,10 @@ definitions:
|
||||
type: string
|
||||
updatedAt:
|
||||
type: string
|
||||
|
||||
errorMessage:
|
||||
type: string
|
||||
|
||||
loginRequest:
|
||||
type: object
|
||||
properties:
|
||||
@ -193,6 +201,7 @@ definitions:
|
||||
type: string
|
||||
loginResponse:
|
||||
type: string
|
||||
|
||||
principal:
|
||||
type: object
|
||||
properties:
|
||||
@ -202,6 +211,7 @@ definitions:
|
||||
type: string
|
||||
token:
|
||||
type: string
|
||||
|
||||
tunnelRequest:
|
||||
type: object
|
||||
properties:
|
||||
@ -214,11 +224,13 @@ definitions:
|
||||
properties:
|
||||
service:
|
||||
type: string
|
||||
|
||||
untunnelRequest:
|
||||
type: object
|
||||
properties:
|
||||
service:
|
||||
type: string
|
||||
|
||||
version:
|
||||
type: string
|
||||
|
||||
@ -228,4 +240,4 @@ consumes:
|
||||
- application/zrok.v1+json
|
||||
schemes:
|
||||
- http
|
||||
swagger: "2.0"
|
||||
swagger: "2.0"
|
Reference in New Issue
Block a user