GET /v1/service-types

Response

HTTP/1.1 200 OK
[ {
  "_self" : "https://seiso.example.com/v1/service-types/agent",
  "key" : "agent",
  "name" : "Agent"
}, {
  "_self" : "https://seiso.example.com/v1/service-types/application",
  "key" : "application",
  "name" : "Application"
},

...

]

GET /v1/service-types/:key

Response

HTTP/1.1 200 OK
{
  "_self" : "https://seiso.example.com/v1/service-types/application",
  "key" : "application",
  "name" : "Application"
}

PUT /v1/service-types/:key

Request

{
  "key" : "database",
  "name" : "Database"
}

Response

For creates:

HTTP/1.1 201 Created

For updates:

HTTP/1.1 204 No Content

DELETE /v1/service-types/:key

Response

HTTP/1.1 204 No Content