mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 13:47:54 +00:00
Appended API example
Added api proxy example to /supervisor/v2/applications/state Change-type: patch
This commit is contained in:
parent
486f3e034d
commit
04ec6d1379
10
docs/API.md
10
docs/API.md
@ -617,6 +617,16 @@ Response:
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Remotely via the API proxy:
|
||||
```bash
|
||||
curl -X POST \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Authorization: Bearer <auth token>' \
|
||||
-d '{"uuid": "<uuid>", "method": "GET"}' \
|
||||
"https://api.resin.io/supervisor/v2/applications/state"
|
||||
```
|
||||
|
||||
### GET /v2/applications/:appId/state
|
||||
|
||||
Added in supervisor version v7.12.0.
|
||||
|
Loading…
Reference in New Issue
Block a user