add more api routes

This commit is contained in:
Minecon724 2024-07-28 18:23:47 +02:00
parent 00c6b5d24d
commit 8301dfc50c
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -2,5 +2,7 @@ package eu.m724.vastapp.vastai
enum class ApiRoute(val path: String, val method: String) { enum class ApiRoute(val path: String, val method: String) {
SHOW_USER("/users/current", "GET"), SHOW_USER("/users/current", "GET"),
GET_INSTANCES("/instances", "GET") GET_INSTANCES("/instances", "GET"),
INSTANCES_COUNT("/instances/count", "GET"),
MACHINES_MAINTENANCES("/machines/maintenances", "GET")
} }