All URIs are relative to https://api.aiware.com/edge/v1
| Method | HTTP request | Description |
|---|
| DrainHost | Post /host/{HostID}/drain | Put this host into drain mode. A host in drain mode will not have work assigned to engines on the host. |
| GetHostCpuUsage | Get /hosts/cpu_usage | Get host cpu usage |
| GetHostDetail | Get /host/{HostID}/detail | Get the latest info of the host |
| GetHostMemoryUsage | Get /engine/memory_usage | Get host memory usage |
| GetHostStatus | Get /host/{HostID}/status | Get the latest status of the host |
| GetHosts | Get /hosts | This provides a list of hosts in the system |
| GetHostsCounts | Get /hosts/counts | Get the server counts in a time-range |
| GetHostsCountsByType | Get /hosts/counts_by_type | Get the server counts in a time-range |
| GetHostsLaunch | Get /host/{HostID}/launch | This provides a list of host launches in the system |
| HostAlert | Post /host/alert | Notifies the controller about a system alert. |
| LaunchHost | Post /host/launch | Launch a new host with a particular server type |
| PauseHost | Post /host/{HostID}/pause | Pause all engines on this host. |
| RegisterEngineInstance | Post /host/{HostID}/engine/register | Register a new engine instance |
| RegisterHost | Post /host/register | Update the Host Status |
| ResumeHost | Post /host/{HostID}/resume | Resume all engines on this host. |
| TerminateHost | Post /host/{HostID}/terminate | Delete the host/agent record. Any work still running on this host will be restarted on other hosts. |
| UpdateHostStatus | Post /host/{HostID}/updatestatus | Update the Host Status |