/query/sourceList
-
Description
Retrieve sources list.
-
URL (PATH)
/query/sourceList?token=:token
-
Method
GET
-
Auth required
Yes (token)
-
Request parameters
Parameter Description token *required
[alphanumeric]
example: token=eyJhbGciOiJI...Access key that allows the query to be executed. -
Example request
GET http://disnet.ctb.upm.es/api/disnet/query/sourceList?token=eyJhbGciOiJI...
-
Success response (application/json)
{ "token": "eyJhbGciOiJI...", "authorized": true, "authorizationMessage": "Authorized!", "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "sourceCount": 3, "sources": [ "wikipedia", "pubmed", "mayoclinic" ] }
-
Error response (application/json)
Common errors