life-towers/store
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-28 08:42:34 +01:00
..
.vscode Merge with store 2026-05-28 08:42:34 +01:00
.dockerignore Merge with store 2026-05-28 08:42:34 +01:00
.gitignore Merge with store 2026-05-28 08:42:34 +01:00
__init__.py Merge with store 2026-05-28 08:42:34 +01:00
db.py Merge with store 2026-05-28 08:42:34 +01:00
Dockerfile Merge with store 2026-05-28 08:42:34 +01:00
migration.py Merge with store 2026-05-28 08:42:34 +01:00
README.md Merge with store 2026-05-28 08:42:34 +01:00
requirements.txt Merge with store 2026-05-28 08:42:34 +01:00
schema.sql Merge with store 2026-05-28 08:42:34 +01:00
server.py Merge with store 2026-05-28 08:42:34 +01:00
start-backend.service Merge with store 2026-05-28 08:42:34 +01:00
store.ini Merge with store 2026-05-28 08:42:34 +01:00

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