Welcome to the new RoboCon Docs! Please note that this docs is still WIP.
curl --request POST \
--url https://api.example.com/api/v1/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"password": "<string>"
}
'{
"access_token": "<string>",
"refresh_token": "<string>",
"user": {
"id": 123,
"name": "<string>",
"is_admin": true,
"is_playing": true,
"robot_ip": "<string>"
},
"token_type": "bearer"
}curl --request POST \
--url https://api.example.com/api/v1/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"password": "<string>"
}
'{
"access_token": "<string>",
"refresh_token": "<string>",
"user": {
"id": 123,
"name": "<string>",
"is_admin": true,
"is_playing": true,
"robot_ip": "<string>"
},
"token_type": "bearer"
}Was this page helpful?