-
Notifications
You must be signed in to change notification settings - Fork 2
API Documentation
This document describes the Donabe API used for the creation, querying, deployment and destruction of application containers.
All requests are to be made by HTTP REST, and must include the users OpenStack X-Auth-Token in the message header.
Via POST
http://<Donabe_IP>:<Donabe_Port>/<tenant_id>/containers.json
The message body must then contain a JSON object as described in the Container Schema.
Return a given container:
Via GET
http://<Donabe_IP>:<Donabe_Port>/<tenant_id>/container/<container_id>.json
The returned message body will contain a JSON object as described in the Container Schema.
Return a list of containers:
Via GET
http://<Donabe_IP>:<Donabe_Port>/<tenant_id>/containers.json
The returned message body will contain a list of JSON objects as described in the Container Schema.
Via DELETE
http://<Donabe_IP>:<Donabe_Port>/<tenant_id>/<container_id>.json
Via GET
http://<Donabe_IP>:<Donabe_Port>/<tenant_id>/containers/deploy/<container_id>.json
Return a given deployed container:
Via GET
http://<Donabe_IP>:<Donabe_Port>/<tenant_id>/deployed_container/<container_id>.json
The returned message body will contain a JSON object as described in the Deployed Container Schema.
Return a list of containers:
Via GET
http://<Donabe_IP>:<Donabe_Port>/<tenant_id>/deployed_containers.json
The returned message body will contain a list of JSON objects as described in the Deployed Container Schema.
Via GET
http://<Donabe_IP>:<Donabe_Port>/<tenant_id>/deployed_containers/destroy_deployed/<container_id>.json