You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automatically test APIs in registry and report on ones that are no longer functioning #4
Shouldn't the 301 response be explicitly documented in the swagger?
Not a big deal.
Besides this example that is not a good one for these purposes, there may be other cases where APIs get stale, might be useful to have some kind of periodic check - is this something that could be done with a simple python script over the SmartAPI API? I could take a crack at it
@cmungall@micheldumontier in this case, I would rather the API metadata updated with the correct API endpoint path (with the slash). Not the issue for UI web app.
Activity
micheldumontier commentedon Dec 20, 2017
Actually, this does work. it's just that there is a 301 redirect, and seems like the web ui does not follow it
micheldumontier commentedon Dec 20, 2017
@newgene is there anyway to get the webui to follow 301 redirects?
cmungall commentedon Dec 20, 2017
A good catch
Shouldn't the 301 response be explicitly documented in the swagger?
Not a big deal.
Besides this example that is not a good one for these purposes, there may be other cases where APIs get stale, might be useful to have some kind of periodic check - is this something that could be done with a simple python script over the SmartAPI API? I could take a crack at it
micheldumontier commentedon Dec 20, 2017
sure - i think it would be useful to get uptime. take a look at this site that monitors sparql endpoints: http://yummydata.org/ what do you think?
newgene commentedon Dec 22, 2017
@cmungall @micheldumontier in this case, I would rather the API metadata updated with the correct API endpoint path (with the slash). Not the issue for UI web app.
newgene commentedon Dec 22, 2017
btw @cmungall @micheldumontier, we should create issues in SmartAPI repo instead.
This repo meant to be a default place for people to put their API metadata if they need a place to host.