/query/versionList

  • Description

    Retrieve all available snapshots.

  • URL (PATH)

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

  • Method

    GET

  • Auth required

    Yes (token)

  • Request parameters
    Parameter Description
    source *required
    [alphanumeric]
    example: source=wikipedia
    Name of the information source.
    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/versionList?source=wikipedia&token=eyJhbGciOiJI...
                                         
                                    
  • Success response (application/json)
                                        
                                            {
                                                "token": "eyJhbGciOiJI...",
                                                "authorized": true,
                                                "authorizationMessage": "Authorized!",
                                                "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