Open tibor-postek-m2ms opened 4 years ago
endpoint: /api/compound-sets/?target=2 only get method enable to filter by targetID
/api/compound-sets/?target=2
response: { "count": 1, "next": null, "previous": null, "results": [ { "id": 1, "name": "continihiaagQW", "submitted_sdf": null, "spec_version": 1.2, "method_url": "https://discuss.postera.ai/t/results-from-nwat-mmgbsa-workflow-on-covalent-warheads/1225", "target": 2, "submitter": 1 } ] }
{ "count": 1, "next": null, "previous": null, "results": [ { "id": 1, "name": "continihiaagQW", "submitted_sdf": null, "spec_version": 1.2, "method_url": "https://discuss.postera.ai/t/results-from-nwat-mmgbsa-workflow-on-covalent-warheads/1225", "target": 2, "submitter": 1 } ] }
detail /api/compound-sets/1/
/api/compound-sets/1/
https://github.com/xchem/fragalysis-backend/pull/149
endpoint:
/api/compound-sets/?target=2
only get method enable to filter by targetIDresponse:
{ "count": 1, "next": null, "previous": null, "results": [ { "id": 1, "name": "continihiaagQW", "submitted_sdf": null, "spec_version": 1.2, "method_url": "https://discuss.postera.ai/t/results-from-nwat-mmgbsa-workflow-on-covalent-warheads/1225", "target": 2, "submitter": 1 } ] }
detail
/api/compound-sets/1/