lexisother / cc-cloudsave-web

A web UI for managing your CrossCode cloud save.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cc-cloudsave-web

A web API/UI for managing your CrossCode cloud save.

API Documentation

POST @ /api/register

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"
}

POST @ /api/login

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"
}

POST @ /api/logout

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"
}

GET @ /api/user

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"
}

POST @ /api/user

This route is used for uploading your save file using your API token.

{
    "savefile": "your-UNENCODED-savefile",
    "api_token": "your-api-token"
}

About

A web UI for managing your CrossCode cloud save.


Languages

Language:PHP 70.9%Language:Blade 28.4%Language:Shell 0.7%