| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| .vscode | ||
| .dockerignore | ||
| .gitignore | ||
| __init__.py | ||
| db.py | ||
| Dockerfile | ||
| migration.py | ||
| README.md | ||
| requirements.txt | ||
| schema.sql | ||
| server.py | ||
| start-backend.service | ||
| store.ini | ||
Store backend
API
-
/
- POST:
- Register a new user with the provided token.
- body
- token: uuid
- POST:
-
/me
- POST:
- Log the login of the user.
- Authorization header
- _ token: uuid
- POST:
-
/me/root
-
PUT:
- Set the root of user data.
- body
- root_id: uuid
- Authorization header
- _ token: uuid
-
GET:
- Get the root of user data.
- Authorization header
- _ token: uuid
- response
- uuid
-
-
/me/{id: string}
-
POST:
- Upload a new object with id.
- body
- data: string
- Authorization header
- _ token: uuid
-
GET:
- Retrieve an object with id.
- Authorization header
- _ token: uuid
- response
- string
-