Instantly share code, notes, and snippets.

Embed
What would you like to do?
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