Appended API example

Added api proxy example to /supervisor/v2/applications/state

Change-type: patch
This commit is contained in:
hippolyt 2018-10-12 15:42:58 +02:00 committed by Cameron Diver
parent 486f3e034d
commit 04ec6d1379
No known key found for this signature in database
GPG Key ID: 69264F9C923F55C1

View File

@ -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.