Merge with store

This commit is contained in:
Andras Schmelczer 2026-05-28 08:42:34 +01:00
commit 3ad2766f82

51
store/README.md Normal file
View file

@ -0,0 +1,51 @@
# Store backend
## API
- /
- POST:
- Register a new user with the provided token.
- body
- token: uuid
- /me
- POST:
- Log the login of the user.
- Authorization header
- \_ token: uuid
- /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