/pheno/snapshots

  • Description

    Retrieve snapshots by source.

  • URL (PATH)

    /pheno/snapshots?source={source}&token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    source
    [alphanumeric]
    required
    Name of the information source
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://disnet.ctb.upm.es/api/disnet/pheno/snapshots?source=wikipedia&token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        "2021-02-01",
        "2021-02-15",
        "2021-03-01",
        "2021-03-15",
        "2021-04-01",
        "2021-04-15",
        "2021-05-01",
        "2021-05-15",
        "2021-06-01"
      ]
    }
                                    
  • Error response (application/json)

    Common errors

    Source error