-
Notifications
You must be signed in to change notification settings - Fork 535
Closed
Labels
Feature: APIHelp Wanted: CodeMentor: pdurbinType: Featurea feature requesta feature requestUser Role: API UserMakes use of APIsMakes use of APIs
Description
Complementary feature to adding a file via API
- related: Allow file uploads for non-zip files through the API #1612 API: add endpoint for restricting files #2497
Description of API:
- Modifying label, description, categories or tags for 1 or more SELECTED files in a dataset
- API endpoint receives list of file ids (database ids)
- Modifying label, description, categories or tags for ALL files in a dataset
- API endpoint receives dataset id or persistent identifier
- Distinguish between:
- ADDing to existing tag
- REPLACING existing tags with the new list
Note: Currently there is no way to add tabular tags via API.
Starting point
Scratch code to get started
- Logic for Files.java API: https://gist.github.com/raprasad/c962ce00217a169238f5461138326135
- Add this to the
datasetutilitypackage: https://gist.github.com/raprasad/e714c99ec1731d41442cffd27e875397
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature: APIHelp Wanted: CodeMentor: pdurbinType: Featurea feature requesta feature requestUser Role: API UserMakes use of APIsMakes use of APIs