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 not found #450

Open
bzip2 opened this issue Sep 5, 2018 · 0 comments
Open

API not found #450

bzip2 opened this issue Sep 5, 2018 · 0 comments

Comments

@bzip2
Copy link

bzip2 commented Sep 5, 2018

Hi. I'm trying to use the API calls from your data access instructions but not having success. Have you confirmed that external users can call the API?

Ex. 1:

hello$ GET http://dev.oncoscape.sttrcancer.io/api/gbm_patient_tcga_clinical/?q=&apikey=password
[1] 6142
{"request_path":"\/gbm_patient_tcga_clinical\/","message":"API not found with these values","request_host":["dev.oncoscape.sttrcancer.io"]}
[1]+  Exit 1                  GET http://dev.oncoscape.sttrcancer.io/api/gbm_patient_tcga_clinical/?q=

Ex. 2:

hello$ GET http://dev.oncoscape.sttrcancer.io/api/gbm_patient_tcga_clinical/?q={"gender":"MALE", "race":"WHITE","$fields":["gender","race","patient_ID"],"$skip":5,"$limit":2}&apikey=password
[1] 6156
{"request_path":"\/gbm_patient_tcga_clinical\/","message":"API not found with these values","request_host":["dev.oncoscape.sttrcancer.io"]}
501 Protocol scheme 'race' is not supported
[1]+  Exit 2                  GET http://dev.oncoscape.sttrcancer.io/api/gbm_patient_tcga_clinical/?q={"gender":"MALE", "race":"WHITE","$fields":["gender","race","patient_ID"],"$skip":5,"$limit":2}

I get the same message until I get down to GET http://dev.oncoscape.sttrcancer.io, which returns HTML.

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

No branches or pull requests

1 participant