mirror of
https://github.com/portainer/portainer.git
synced 2025-08-07 23:05:26 +02:00
chore(endpoint/edge): small refactor and move endpoint status handler [EE-2710] (#6637)
This commit is contained in:
parent
f4ac6f8320
commit
77e48bfb74
4 changed files with 94 additions and 69 deletions
|
@ -470,7 +470,7 @@ definitions:
|
|||
example: 2
|
||||
type: integer
|
||||
type: object
|
||||
endpoints.endpointStatusInspectResponse:
|
||||
endpoints.endpointEdgeStatusInspectResponse:
|
||||
properties:
|
||||
checkin:
|
||||
description: The current value of CheckinInterval
|
||||
|
@ -4156,12 +4156,12 @@ paths:
|
|||
summary: Snapshots an endpoint
|
||||
tags:
|
||||
- endpoints
|
||||
/endpoints/{id}/status:
|
||||
/endpoints/{id}/edge/status:
|
||||
get:
|
||||
description: |-
|
||||
Endpoint for edge agent to check status of environment
|
||||
**Access policy**: restricted only to Edge endpoints
|
||||
operationId: EndpointStatusInspect
|
||||
operationId: EndpointEdgeStatusInspect
|
||||
parameters:
|
||||
- description: Endpoint identifier
|
||||
in: path
|
||||
|
@ -4172,7 +4172,7 @@ paths:
|
|||
"200":
|
||||
description: Success
|
||||
schema:
|
||||
$ref: '#/definitions/endpoints.endpointStatusInspectResponse'
|
||||
$ref: '#/definitions/endpoints.endpointEdgeStatusInspectResponse'
|
||||
"400":
|
||||
description: Invalid request
|
||||
"403":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue