/query/sourceList

  • Description

    Retrieve the list of sources.

  • URL (PATH)

    /query/sourceList?token=:token

  • Method

    GET

  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    token
    [alphanumeric]
    example: token=eyJhbGciOiJI...
    Optional access key to save the current query inside the user's profile
  • Example request
                                         GET http://disnet.ctb.upm.es/api/disnet/query/sourceList?token=
                                    
  • Success response (application/json)
                                        {
        "token": "null", 
        "authorized": false, 
        "authorizationMessage": "null", 
        "responseCode": "200",
        "responseMessage": "OK",
        "errorsFound": [],
        "sourceCount": 3,
        "sources": [
            "wikipedia",
            "pubmed",
            "mayoclinic"
        ]
    }