Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 799 Bytes

API.md

File metadata and controls

62 lines (46 loc) · 799 Bytes

Myriad REST API

Cluster API

PUT /api/cluster/flexup

Expands the size of the cluster

Request:

{
  "instances":1, "profile": "small"
}

Response:

200 OK

PUT /api/cluster/flexdown

Shrinks the size of cluster

Request:

{
  "instances":1
}

Response:

200 OK

State API

GET /api/state

Response:

{
  "pendingTasks":[

  ],
  "stagingTasks":[

  ],
  "activeTasks":[

  ],
  "killableTasks":[

  ]
}