SvkApiService

interface SvkApiService

Retrofit API service interface for SVK API related operations.

Functions

Link copied to clipboard
@POST(value = "v1/users/login")
abstract suspend fun login(@Body body: LoginDto): UserDto

Performs a user login operation.

Link copied to clipboard
@POST(value = "v1/transports")
abstract suspend fun postTransport(@Body transportEntity: TransportDto)

Posts a transport entity to the server.

Link copied to clipboard
@POST(value = "v1/users/register")
abstract suspend fun register(@Body body: LoginDto): UserDto

Performs a user registration operation.