mirror of
https://github.com/openziti/zrok.git
synced 2025-08-15 02:22:32 +02:00
implementation of /agent/share (#967)
This commit is contained in:
@ -644,30 +644,6 @@ paths:
|
||||
500:
|
||||
description: internal server error
|
||||
|
||||
/agent/unenroll:
|
||||
post:
|
||||
tags:
|
||||
- agent
|
||||
security:
|
||||
- key: []
|
||||
operationId: unenroll
|
||||
parameters:
|
||||
- name: body
|
||||
in: body
|
||||
schema:
|
||||
properties:
|
||||
envZId:
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: ok
|
||||
400:
|
||||
description: bad request; not enrolled
|
||||
401:
|
||||
description: unauthorized
|
||||
500:
|
||||
description: internal server er
|
||||
|
||||
/agent/ping:
|
||||
post:
|
||||
tags:
|
||||
@ -708,8 +684,11 @@ paths:
|
||||
in: body
|
||||
schema:
|
||||
properties:
|
||||
envZId:
|
||||
type: string
|
||||
shareMode:
|
||||
type: string
|
||||
enum: ["public", "private", "reserved"]
|
||||
token:
|
||||
type: string
|
||||
target:
|
||||
@ -759,6 +738,29 @@ paths:
|
||||
502:
|
||||
description: bad gateway; agent not reachable
|
||||
|
||||
/agent/unenroll:
|
||||
post:
|
||||
tags:
|
||||
- agent
|
||||
security:
|
||||
- key: []
|
||||
operationId: unenroll
|
||||
parameters:
|
||||
- name: body
|
||||
in: body
|
||||
schema:
|
||||
properties:
|
||||
envZId:
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: ok
|
||||
400:
|
||||
description: bad request; not enrolled
|
||||
401:
|
||||
description: unauthorized
|
||||
500:
|
||||
|
||||
/agent/unshare:
|
||||
post:
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user