SessionsApi. Android
Api to manipulate different users sessions.
Get sessions list
Get the list of different sessions.
If request was successful you'll receive the list of VMSSession
object.
CODE
@GET(SESSIONS_LIST)
suspend fun getSession(): ArrayList<VMSSession>
Delete session
Delete specific session of a given id.
If request was successful you'll receive VMSStatusResponse
.
CODE
@POST(SESSIONS_ID)
suspend fun deleteSession(@Path(ID) id: String): VMSStatusResponse