Breadcrumbs

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.

@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.

@POST(SESSIONS_ID)
suspend fun deleteSession(@Path(ID) id: String): VMSStatusResponse