Merge with store
This commit is contained in:
parent
706fe745d3
commit
3ad2766f82
1 changed files with 1185 additions and 0 deletions
51
store/README.md
Normal file
51
store/README.md
Normal 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
|
||||
Loading…
Reference in a new issue