mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-16 23:38:52 +00:00
commit
c9b7ebd74d
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.
|
||||
|
@ -30,6 +30,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bluebird": "^3.5.20",
|
||||
"@types/dockerode": "2.5.5",
|
||||
"@types/event-stream": "^3.3.34",
|
||||
"@types/express": "^4.11.1",
|
||||
"@types/knex": "^0.14.14",
|
||||
|
Loading…
x
Reference in New Issue
Block a user