Source
get/sources

Request

  • Base URL
    http://localhost:3001/api
  • URL
    http://localhost:3001/api/sources
  • Auth
    none declared

Query parameters

pageinteger

The pages of sources to skip before starting to collect the result set

limitinteger

The number of sources to return

urlstring

Origin URL substring on which to filter the result set

access_tokenstring

Bearer token used by automated ingestion lambdas.

Response

OK

nextPageinteger
totalinteger

Example response

{
  "sources": [
    {
      "name": "Paraguay",
      "origin": {
        "url": "https://opendata.digilugu.ee/opendata_covid19_test_results.csv",
        "license": "MIT",
        "providerName": "Paraguay Ministry of Public Health and Social Welfare",
        "providerWebsiteUrl": "https://www.mspbs.gov.py/index.php"
      },
      "automation": {
        "parser": {
          "awsLambdaArn": "arn:aws:lambda:eu-central-1:612888738066:function:epid-ingestion-IndiaParsingFunction-J20HSC838QT6"
        },
        "schedule": {
          "awsRuleArn": "arn:aws:events:eu-central-1:612888738066:rule/5ef22491937717c3331c3729",
          "awsScheduleExpression": "rate(1 day)"
        }
      }
    }
  ]
}

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status