Retrieve metadata in irods HTTP API

15 views
Skip to first unread message

e.v.wi...@gmail.com

unread,
Jul 8, 2025, 9:29:44 AMJul 8
to iRODS-Chat
HI,

Maybe I overlooked it, but I could not find a way to query or retrieve metadata through the iRODS HTTP API. It seems a bit inconsistent that there is an endpoint for adding and removing metadata, but not for retrieving. Is it really not in there, or am I missing something?

Regards,

Erwin van Wieringen

Terrell Russell

unread,
Jul 8, 2025, 10:31:15 AMJul 8
to irod...@googlegroups.com
Hi Erwin,

Not overlooked - getting metadata would be done through the genquery
interface...

https://github.com/irods/irods_client_http_api/blob/main/API.md#execute_genquery

"select META_DATA_ATTR_NAME, META_DATA_ATTR_VALUE,
META_DATA_ATTR_UNITS where DATA_NAME = 'file1.txt'"

would give you the AVUs for all data objects named file1.txt.

Terrell
> --
> --
> The Integrated Rule-Oriented Data System (iRODS) - https://irods.org
>
> iROD-Chat: http://groups.google.com/group/iROD-Chat
> ---
> You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/irod-chat/0934ff57-bc8e-4ad1-8948-db655409cba5n%40googlegroups.com.

e.v.wi...@gmail.com

unread,
Jul 9, 2025, 5:27:28 AMJul 9
to iRODS-Chat
Ah, that works indeed. Thanks for your quick response!

Op dinsdag 8 juli 2025 om 16:31:15 UTC+2 schreef Terrell Russell:
Reply all
Reply to author
Forward
0 new messages