datasets
Create a new resource for a given dataset
Changed onpost/datasets/{dataset}/resources/
Request
- Base URLhttps://dados.gov.pt/api/1
- URLhttps://dados.gov.pt/api/1/datasets/{dataset}/resources/
- Authnone declared
Path parameters
datasetstring required
The dataset ID or slug
Headers
X-Fieldsstring mask
An optional fields mask
Request body
Example request
{
"checksum": {
"type": "sha1"
},
"filetype": "file",
"type": "main"
}Response
Success
Example response
{
"checksum": {
"type": "sha1"
},
"filetype": "file",
"type": "main"
}Changes
- breaking
removed the success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking