greenelab / connectivity-search-backend

Django backend for hetnet connectivity search
https://search-api.het.io
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Refactor API endpoints for consistency #68

Closed dhimmel closed 4 years ago

dhimmel commented 5 years ago

closes https://github.com/greenelab/hetmech-backend/issues/67

Todo:

dhimmel commented 4 years ago

Ready for review.

The following endpionts are now exposed at http://localhost:8000/v1/

"http://localhost:8000/v1/node/2",
"http://localhost:8000/v1/nodes/",
"http://localhost:8000/v1/random-node-pair/",
"http://localhost:8000/v1/metapaths/source/17054/target/6602/",
"http://localhost:8000/v1/metapaths/random-nodes/",
"http://localhost:8000/v1/paths/source/17054/target/6602/metapath/CbGeAlD/"