Skip to content

Instantly share code, notes, and snippets.

@owenkellogg
Last active August 29, 2015 14:14
Show Gist options
  • Save owenkellogg/a48cbd765fce27a4bf7d to your computer and use it in GitHub Desktop.
Save owenkellogg/a48cbd765fce27a4bf7d to your computer and use it in GitHub Desktop.
Standard Orchestration Interface

Codius Standard Orchestration Interface

Instance State Machine

pending | running | shutting-down | terminated | stopping | stopped

Start Running a Container

POST /instances

Request Parameters:

  • container_uri
  • uid
  • type
  • variables
  • port

Response Body:

  • Instance
    • state
    • uid
    • container_hash
    • container_uri
    • ip_address
    • port

List all running containers

GET /instances

Response Body: Array of Instances

  • Array of Instances

Get info of a single Running Container

GET /instances/:uid

Response Body:

  • Instance
    • state
    • uid
    • container_hash
    • container_uri
    • ip_address
    • port

Stop a Running Container

DELETE /instances/:uid

Response Body:

  • Instance
    • state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment