[arvados-dev] Projects in Arvados API

Albrecht, Tom tom.albrecht at roche.com
Mon Jul 24 10:57:45 EDT 2017


Thanks everybody. I was able to query all collections belonging to a given
project.

On Mon, Jul 24, 2017 at 4:52 PM, Tom Morris <tfmorris at curoverse.com> wrote:

> Hi Tom.
>
> That's a documentation shortcoming.
>
> On Mon, Jul 24, 2017 at 6:46 AM, Albrecht, Tom <tom.albrecht at roche.com>
> wrote:
>
>>
>> I have another question regarding the Arvados API: In the Arvados
>> Workbench, collections can be organized in "Projects". I do not see any
>> reference to this in the Arvados Rest API.
>>
>
> Projects are implemented as Groups with a type of "project", although
> that's not very clear from the documentation.
>
>
>> If the API does know about the projects, how can you query the projects
>> and their contents directly using the API?
>>
>
> You could use something like this to get the first 1000 subprojects of a
> project (or top level projects of a user if you use a -tpzed- UUID for
> parent):
>
> groups = api.groups().list(filters=[['owner_uuid','=',parent]],
> limit=1000).execute().items()
>
>
> --
> Tom Morris
> Director, Product Management
> Curoverse
>



-- 

*Thomas Albrecht, PhD*

Senior Scientist

SIAD Solution Delivery & Architecture, pRED Informatics

Roche Pharma Research and Early Development


Roche Innovation Center Basel


F. Hoffmann-La Roche Ltd
Grenzacherstrasse 124
4070 Basel

Switzerland


Building: 92 / 7.01.09

Phone: +41 61 687 9804


*Confidentiality Note: This message is intended only for the use of the
named recipient(s) and may contain confidential and/or proprietary
information. If you are not the intended recipient, please contact the
sender and delete this message. Any unauthorized use of the information
contained in this message is prohibited.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.arvados.org/pipermail/arvados-dev/attachments/20170724/6bbaee64/attachment.html>


More information about the arvados-dev mailing list