ckan / ckanext-validation

CKAN extension for validating Data Packages using Table Schema.
MIT License
30 stars 33 forks source link

Custom upload endpoints #81

Open amercader opened 2 years ago

amercader commented 2 years ago

High-level spec: https://github.com/frictionlessdata/ckanext-validation/issues/65#issuecomment-1335093859

Update the ckanext-validation blueprint to include:

  1. An endpoint that accepts an uploaded file or a URL and creates a resource with a file (POST /dataset/<dataset_id>/resource/file). This will be used when in step 1 of creating a new resource (uploading the file). This endpoint will:

  2. An endpoint that accepts an uploaded file or a URL and updates the file of resource (POST /dataset/<dataset_id>/resource/<resource_id>/file). This will be used when updating an existing resource. This endpoint will:

Additional endpoints: