iVis-at-Bilkent / pathway-mapper

PathwayMapper: An interactive and collaborative graphical curation tool for cancer pathways
https://www.pathwaymapper.org/
GNU Affero General Public License v3.0
55 stars 28 forks source link

API to get All the Cancer Studies not working. #289

Open gautamsarawagi opened 6 months ago

gautamsarawagi commented 6 months ago

I suppose the get request : https://www.cbioportal.org/webservice.do?cmd=getCancerStudies is not working. Getting this error:

image

ugurdogrusoz commented 6 months ago

@gautamsarawagi I am not sure I understand the context here. How did you produce this error? Please tell us the exact URL and the steps to reproduce.

gautamsarawagi commented 6 months ago

Sure @ugurdogrusoz when I was trying to fetch any genomic data from the cbioportal I got this error upon going through the code and the inspector I found that this endpoint: https://www.cbioportal.org/webservice.do?cmd=getCancerStudies was behind this:

image

ugurdogrusoz commented 6 months ago

According to @onursumer Looks like we are pointing to an outdated service, we should probably be using this endpoint: https://www.cbioportal.org/api/swagger-ui/index.html?urls.primaryName=public#/Studies/getAllStudiesUsingGET

ugurdogrusoz commented 6 months ago

@gautamsarawagi Should be back to normal after a hotfix. Sorry for the delay.