Skip to content

API versioning #155

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
josecelano opened this issue May 16, 2023 · 0 comments · Fixed by #159
Closed

API versioning #155

josecelano opened this issue May 16, 2023 · 0 comments · Fixed by #159

Comments

@josecelano
Copy link
Member

josecelano commented May 16, 2023

By using URI Versioning, which means adding a prefix with the version to all endpoints: /v1.

Context Method Path
root
GET /
about
GET /about
GET /about/license
category
GET /category
POST /category
DELETE /category
proxy
GET /proxy/image/{url}
settings
GET /settings
POST /settings
GET /settings/name
GET /settings/public
torrent
POST /torrent/upload
GET /torrent/download/{info_hash}
GET /torrent/{info_hash}
PUT /torrent/{info_hash}
DELETE /torrent/{info_hash}
GET /torrents
user
POST /user/register
POST /user/#
DELETE /user/ban/{user}
POST /user/token/verify
POST /user/token/renew
GET /user/email/verify/{token}
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant