package com.example.ops_android.data.remote.api

import com.example.ops_android.data.model.UserDetail
import com.example.ops_android.data.remote.ApiResponse
import retrofit2.http.GET
import retrofit2.http.Path

data class UserInfoByIdResponse(
    val userinfo: UserDetail?
)

interface UsersApi {

    @GET("/users/getuserinfo/{userID}")
    suspend fun getUserInfoFromUserID(@Path("userID") userID: Int): ApiResponse<UserInfoByIdResponse>
}
