A web API/UI for managing your CrossCode cloud save.
This route is used for registering a new user.
To register via the API, POST
the following data to the endpoint:
{
"name": "Your Name",
"email": "youremail@example.com",
"password": "your-super-secure-password",
"password_confirmation": "your-super-secure-password"
}
This route is used for logging into your account. It allows you to fetch your API token programmatically.
To login via the API, POST
the following data to the endpoint:
{
"email": "youremail@example.com",
"password": "your-super-secure-password"
}
This route is used for logging out of your account. It sets your API token to null
.
To logout via the API, POST
the following data to the endpoint:
{
"api_token": "your-api-token"
}
This route is used for getting your user data using your API token.
To fetch your user data, make a GET
request with the following data:
{
"api_token": "your-api-token"
}
This route is used for uploading your save file using your API token.
{
"savefile": "your-UNENCODED-savefile",
"api_token": "your-api-token"
}