Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Roadmap discussion] Add an API to add dataset tags #2506

Open
jcomedouteau opened this issue Nov 18, 2024 · 0 comments · May be fixed by #2541
Open

[Roadmap discussion] Add an API to add dataset tags #2506

jcomedouteau opened this issue Nov 18, 2024 · 0 comments · May be fixed by #2541
Assignees
Labels
REVIEWABLE Has to be reviewed ROADMAP

Comments

@jcomedouteau
Copy link
Collaborator

Dataset tags are currently only managed by processing handlers and can't be created "externally" (by the interface or an API)

We should add the possibility to add/remove them using an API.

-> Create a DatasetTagApi with a method addDatasetTag(Long datasetId, String tagName) in which we add a tag to a dataset.
(To see how it currently works, see OFSEPSeqIdHandler#setDatasetTags method -> Do not consider properties that are not relevant for this issue.)
-> Add a method removeDatasetTag(Long datasetId, String tagName) in which we remove this specific tag for this dataset.

The tag should be existing in the study (we currently base ourself on study tags, god knows why), and the used should have the right to import on the study / center.

Can also be done by Guewen :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REVIEWABLE Has to be reviewed ROADMAP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants