icipe-official / icipe-official/vectoratlas-software-code
Add dataset-id parameter to the ingest routes
Open
@andykitch is already working on this.
Since Jan 17, 2023.
5
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 8
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 11
Description
The ingest endpoints need to accept an optional dataset_id parameter, for the re-upload of existing data. Data uploaded with this parameter will replace data with the same dataset_id in the db. Data uploaded without this parameter will be saved as normal, against a new dataset_id.
Acceptance Criteria:
- The ingest endpoints accept an optional dataser_id parameter
- If no dataset_id parameter is supplied, the data is saved as normal against a new dataset_id
- If a dataset_id is present, any existing data against that id will be deleted before the new data is saved
- Only the original uploader can overwrite the data
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.