Skip to Content

Gear6 ServiceController API Documentation

List available services
view
GET
/api/ServiceController/latest/services
State
view
GET
/api/ServiceController/latest/state
Event
view
GET
/api/ServiceController/latest/event
Create Servers (Not Yet Implemented)
Create one or more Memcache Servers and auomatically attach them to a particular service.
super
POST
/api/ServiceController/latest/create-servers
Attach IPs to a Service
Attach one or more existing Memcached servers to a given service.
modify
POST
/api/ServiceController/latest/attach
Detach IPs from a Service
Detach one or more existing Memcached servers from a given service.
modify
POST
/api/ServiceController/latest/detach
Rename a service (Not Yet Implemented)
Rename an existing service.
modify
POST
/api/ServiceController/latest/rename
Stop one or more instances (Not Yet Implemented)
Issue the command to terminate one or more instances, specified as a comma-separated list of IPs.
modify
POST
/api/ServiceController/latest/stop/#{ips}
Load the list of possible machine types that we could create.
modify
GET
/api/ServiceController/latest/machine-types
Change authorization level.
This request may change the authorization level. The password component is optional. If either the oldLevel or newLevel are not acceptable authorization levels, the request fails. If the requested transition is from a higher privilege level to the same one or lower, the action is taken and succeeds. The cloud sets the authLevel appropriately. If the requested transition is to a higher level and the password is absent, the request fails. If the password is present, and is different from the password known to the cloud, the request fails. If it is the same, the request succeeds and the cloud sets the authLevel appropriately.
any
POST
/api/ServiceController/latest/authorize/#{oldLevel}/#{newLevel}/#{password}