Source
Updates a specific source
Changed onput/sources/{id}
Request
- Base URLhttp://localhost:3001/api
- URLhttp://localhost:3001/api/sources/{id}
- Authnone declared
Request body
Example request
{
"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)"
}
}
}Response
OK
Example response
{
"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/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info