/query/versionList

  • Description

    Retrieve all available snapshots.

  • URL (PATH)

    /query/versionList?source=:source&token=:token

  • Method

    GET

  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    source *required
    [alphanumeric]
    example: source=wikipedia
    Name of the ifonrmation source
    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/versionList?source=wikipedia&token=
                                    
  • Success response (application/json)
                                        {
        "token": "null", 
        "authorized": false, 
        "authorizationMessage": "null", 
        "responseCode": "200",
        "responseMessage": "OK",
        "errorsFound": [],
        "versionsCount": 17,
        "versions": [
            "2018-02-01",
            "2018-02-15",
            "2018-03-01",
            "2018-03-15",
            "2018-04-01",
            "2018-04-15",
            "2018-05-01",
            "2018-05-15",
            "2018-06-01",
            "2018-06-15",
            "2018-07-01",
            "2018-07-15",
            "2018-08-01",
            "2018-08-15",
            "2018-09-01",
            "2018-09-15",
            "2018-10-01"
        ]
    }
                                    
  • Error response (application/json)

    Common errors

    Source error