GET /v1/environments{?page,size}

Response

HTTP/1.1 200 OK
[ {
  "_self" : "https://seiso.example.com/v1/environments/integration",
  "aka" : "Maui, ProdNext",
  "description" : "Functional integration testing, regression testing against upcoming versions of services.",
  "key" : "integration",
  "name" : "Integration"
}, {
  "_self" : "https://seiso.example.com/v1/environments/stable",
  "aka" : "Milan, ProdStable",
  "description" : "Hotfix testing.",
  "key" : "stable",
  "name" : "Stable"
},

...

]

GET /v1/environments/:key

Response

HTTP/1.1 200 OK
{
  "_self" : "https://seiso.example.com/v1/environments/integration",
  "aka" : "Maui, ProdNext",
  "description" : "Functional integration testing, regression testing against upcoming versions of services.",
  "key" : "integration",
  "name" : "Integration"
}

PUT /v1/environments/:key

Request

{
  "aka" : "Maui, ProdNext",
  "description" : "Functional integration testing, regression testing against upcoming versions of services.",
  "key" : "integration",
  "name" : "Integration"
}

Response

For creates:

HTTP/1.1 201 Created

For updates:

HTTP/1.1 204 No Content

DELETE /v1/environments/:key

Response

HTTP/1.1 204 No Content