implementation of /agent/share (#967)

This commit is contained in:
Michael Quigley
2025-06-02 15:56:48 -04:00
parent e991ecf0cb
commit 1aad5ff2b2
17 changed files with 338 additions and 42 deletions

View File

@ -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: