Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

API #14

Open
cyrillicw opened this issue Oct 9, 2021 · 1 comment
Open

API #14

cyrillicw opened this issue Oct 9, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cyrillicw
Copy link
Contributor

cyrillicw commented Oct 9, 2021

In order for the client to be able to interact with the Network, his local server should receive queries from UI. It is necessary to consider all types of necessary queries (GET and POST) and implement them using Flask. You should NOT write the implementation of queries but only cal corresponding QuieryHandlers. For example,

@(method and route)
DownloadTrorrentQuery(params):
    parse params
    call DownloadTorrentHandler(params)

https://github.com/DecentralizedPrimates/DecentralizedTracker/wiki/API

@cyrillicw cyrillicw added the enhancement New feature or request label Oct 9, 2021
@getWatermelon getWatermelon self-assigned this Nov 22, 2021
@getWatermelon
Copy link
Contributor

Created flask app GET, POST /download_torrent endpoints template with mock of download torrent handler class in branch i14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants