-
Notifications
You must be signed in to change notification settings - Fork 136
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
API: /labels
doesn't work?
#7727
Comments
Hi Onno,
could you, please, try for any of you files query , with `curl` the label of the file:
something like:
[ https://dcachetest.grid.surfsara.nl:20443/api/v1/namespace/%2Fgroups%2Fdteam%2Fonno-tests | https://dcachetest.grid.surfsara.nl:20443/api/v1/namespace/%2Fgroups%2Fdteam%2Fonno-tests ] /?labels=true
what about the issue 7727 rm-label not working, does it work?
thank you
cheers
Marina
From: "Onno Zweers" ***@***.***>
To: "dCache" ***@***.***>
Cc: "Subscribed" ***@***.***>
Sent: Tuesday, 31 December, 2024 12:26:04
Subject: [dCache/dcache] API: `/labels` doesn't work? (Issue #7727)
Dear dCache devs,
Is the API call /labels properly implemented? I can't get it to produce anything more than this:
{
"children": [],
"labels": []
}
Using a fairly recent 10.2 snapshot. The /namespace set-label and rm-label actions do work.
Thanks and happy new year!
—
Reply to this email directly, [ #7727 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ADR34RHDFAJL74YOTHI4G2D2IJ5MZAVCNFSM6AAAAABUNLOUPSVHI2DSMVQWIX3LMV43ASLTON2WKOZSG43DIMRXGA4DGMY | unsubscribe ] .
You are receiving this because you are subscribed to this thread. Message ID: ***@***.***>
|
Or you were talking rather about a functionality to list all existing labels? |
Hi Marina, I can see the labels of files with the My current plan (to implement in our dCache API client Ada) is to use /namespace showing children and with labels=true and use jq to filter on labels. I hope that will perform. Cheers, |
Some examples:
|
Dear dCache devs,
Is the API call
/labels
properly implemented? I can't get it to produce anything more than this:Using a fairly recent 10.2 snapshot. The /namespace
set-label
andrm-label
actions do work.Thanks and happy new year!
The text was updated successfully, but these errors were encountered: