summaryrefslogtreecommitdiff
path: root/src/automationstatus/README.md
blob: 3adf86a88add2e29fbab56f617457df2677b2d25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## How to use the automation status API

The automation status API is a REST api for playbooks to report startus as they are running.

URL:  /automationstatus/playbook/

## Sending a status updates

POST: /automationstatus/playbook/

Body: 
{
    "ilo_host_address": "2001:4888:2a10:30c2:101:40a:0:e001",
    "playbook_name": "test_playbook123",
    "status": "test_status223"
}

## Retrieve updates

GET: /automationstatus/playbook/

GET: /automationstatus/playbook/1