mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 05:16:28 +00:00
Add a validate ingress session endpoint (#714)
* Add a validate ingress session endpoint * update docs
This commit is contained in:
parent
3213be0db1
commit
7cbd1bcc0b
@ -1258,6 +1258,17 @@ Shutdown the host
|
|||||||
<ApiEndpoint path="/ingress/session" method="post">
|
<ApiEndpoint path="/ingress/session" method="post">
|
||||||
Create a new session for access to the ingress service.
|
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:**
|
**Payload:**
|
||||||
|
|
||||||
| key | type | optional | description |
|
| key | type | optional | description |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user