Page 1 of 1

Listing groups and experimenters via webgateway api

PostPosted: Tue Aug 30, 2016 12:29 pm
by ofuica
Hi,

I would like be using the webgateway api to read the groups, experimenters, project, datasets and images. Now I can read projects, datasets and images with any problem, but I could not retrieve the group list and experimenters of a group. The idea is replicate this tree information (groups -> experimenters -> projects -> datasets -> images) just using webgateway.

Is possible to implement that?. If the response is yes, would you give me an url with more information?

Thank you

Osvaldo

Re: Listing groups and experimenters via webgateway api

PostPosted: Wed Aug 31, 2016 11:13 am
by wmoore
Hi Osvaldo,

I'm afraid the webgateway api is probably a little limited in what you need.
You'll need to use the webclient api, which is what we use for the webclient browser app.
We haven't documented the webclient api because it is mostly considered an "internal" data resource for the app. It is not guaranteed to stay stable for minor releases of OMERO (although we would try not to make breaking changes).

You can list groups

webclient/api/groups/

Experimenters, optionally filtering by group

/webclient/api/experimenters/?group=3

Containers are Projects, 'orphaned' Datasets (not in a Project), and Screens/Plates.
Can filter by group and/or experimenter (id)

webclient/api/containers/?group=5&id=4

You can then use webgateway methods to get Datasets & Images.
Or use webclient: Filter datasets by Project (id) and images by Dataset (id)

webclient/api/datasets/?id=1
webclient/api/images/?id=3

We are currently working on a new full-featured public json API. The first part of this will be available in the 5.3.0 release.

Regards,

Will

Re: Listing groups and experimenters via webgateway api

PostPosted: Tue Sep 13, 2016 2:57 pm
by ofuica
Hi Will,

Thank you for your answer :)

I will be waiting the new json API. it seems that I am looking for!.

Best,

Osvaldo