-
Notifications
You must be signed in to change notification settings - Fork 1
/
apiary.apib
44 lines (29 loc) · 1020 Bytes
/
apiary.apib
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FORMAT: 1A
HOST: http://diagnostic.api/
# Diagnostic Api
Diagnotic api designed for share information about openstack's installations
# Group Notes
Notes related resources of the **Notes API**
## Openstack Collection [/openstack]
### List all Openstack installations [GET]
+ Response 200 (application/json)
[{
"id": 0, "name": "customer0"
}, {
"id": 1, "name": "customer1"
}]
### Create a Openstack installation [POST]
+ Request (application/json)
{ "name": "customer3" }
+ Response 201 (application/json)
{ "id": 2, "name": "customer3" }
## Openstack [/openstack/{id}]
### A single openstack object with all available information
+ Parameters
+ id (required, number, `1`) ... Numeric `id` of the Openstack installation to perform action with. Has example value.
### Retrieve a Openstack [GET]
+ Response 200 (application/json)
+ Body
{ "id": 2, "elements": ["hw"] }
### Remove a Openstack [DELETE]
+ Response 204