Add a validate ingress session endpoint (#714)

* Add a validate ingress session endpoint

* update docs
This commit is contained in:
Paulus Schoutsen 2020-11-06 11:48:56 +01:00 committed by GitHub
parent 3213be0db1
commit 7cbd1bcc0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1258,6 +1258,17 @@ Shutdown the host
<ApiEndpoint path="/ingress/session" method="post">
Create a new session for access to the ingress service.
**Returned data:**
| key | type | optional | description |
| ------- | ------ | -------- | --------------------------------- |
| session | string | False | The token for the ingress session |
</ApiEndpoint>
<ApiEndpoint path="/ingress/validate_session" method="post">
Validate an ingress session, extending it's validity period.
**Payload:**
| key | type | optional | description |