add more api routes
This commit is contained in:
parent
00c6b5d24d
commit
8301dfc50c
1 changed files with 3 additions and 1 deletions
|
@ -2,5 +2,7 @@ package eu.m724.vastapp.vastai
|
|||
|
||||
enum class ApiRoute(val path: String, val method: String) {
|
||||
SHOW_USER("/users/current", "GET"),
|
||||
GET_INSTANCES("/instances", "GET")
|
||||
GET_INSTANCES("/instances", "GET"),
|
||||
INSTANCES_COUNT("/instances/count", "GET"),
|
||||
MACHINES_MAINTENANCES("/machines/maintenances", "GET")
|
||||
}
|
Loading…
Reference in a new issue