ApiGet

interface ApiGet

The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.

Author

Vitaliy Zarubin

Functions

getListUsers
Link copied to clipboard
@GET(value = "users")
abstract suspend fun getListUsers(@Query(value = "search"search: String?, @Query(value = "offset"offset: Int = 1, @IntRange(from = 1, to = 100) @Query(value = "limit"limit: Int = ConstantsPaging.PAGE_LIMIT): Response<List<UserResponse>>

Get list users

updateUser
Link copied to clipboard
@GET(value = "users/{id}")
abstract suspend fun updateUser(@Path(value = "id"id: String?): Response<UserResponse>

Update user model

Inheritors

UsersApi
Link copied to clipboard