Study Planet Api
interface StudyPlanetApi
Retrofit API interface for Study Planet, defining various HTTP methods for interacting with the Study Planet server.
Functions
Link copied to clipboard
Authenticates the current user.
Link copied to clipboard
@POST(value = "v1/users/login" )
Attempts to log in a user with the provided LoginDto.
Link copied to clipboard
@POST(value = "v1/users/register" )
Registers a new user with the provided RegisterDto.
Link copied to clipboard
@POST(value = "v1/actions/discover" )
Initiates the process of discovering a new planet.
Link copied to clipboard
@POST(value = "v1/actions/explore" )
Initiates the process of exploring a planet.
Link copied to clipboard
@PUT(value = "v1/actions/discover" )
Stops the process of discovering a planet.
Link copied to clipboard
@PUT(value = "v1/actions/explore" )
Stops the process of exploring a planet.