Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

設計のメモ #1

Open
turtton opened this issue Mar 2, 2023 · 0 comments
Open

設計のメモ #1

turtton opened this issue Mar 2, 2023 · 0 comments

Comments

@turtton
Copy link
Member

turtton commented Mar 2, 2023

Discordより抜粋
API
https://api.shuttle.pub/

Version
https://api.shuttle.pub/:version
e.g.
https://api.shuttle.pub/v0
https://api.shuttle.pub/v1

Account
https://api.shuttle.pub/:version/accounts
POST(signup)
https://api.shuttle.pub/:version/accounts/signup (with JSON payload)
POST(login)
https://api.shuttle.pub/:version/accounts/login (with JSON payload)
DELETE
https://api.shuttle.pub/:version/accounts/:(account_name or account_id)

Profile
https://api.shuttle.pub/:version/profile
GET
https://api.shuttle.pub/:version/profile/:(account_name or account_id)
PATCH(update)
https://api.shuttle.pub/:version/profile/:(account_name or account_id) (with JSON payload)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant