[arvados] updated: 2.7.0-6623-g9a8bcf9230

git repository hosting git at public.arvados.org
Fri May 24 19:03:03 UTC 2024


Summary of changes:
 doc/api/methods/groups.html.textile.liquid         |  5 +-
 lib/controller/router/request.go                   | 12 +--
 lib/controller/router/request_test.go              | 97 +++++++++++++++-------
 sdk/go/arvados/api.go                              |  4 +-
 sdk/python/arvados-v1-discovery.json               |  4 +-
 .../controllers/arvados/v1/groups_controller.rb    | 47 +++++++++--
 .../arvados/v1/groups_controller_test.rb           | 37 +++++++++
 services/api/test/integration/groups_test.rb       | 17 ++++
 8 files changed, 177 insertions(+), 46 deletions(-)

       via  9a8bcf923075e072dcde21795b03087affb63e6a (commit)
       via  848b252edbfd92854bc2140ec758f089bcb57bae (commit)
       via  9bda36e2c94aefc6cb05763e453ad4afdaa6199d (commit)
      from  7c7fb8b37688b4b0286fcb5e1c75cf6a21486d21 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 9a8bcf923075e072dcde21795b03087affb63e6a
Merge: 7c7fb8b376 848b252edb
Author: Tom Clegg <tom at curii.com>
Date:   Fri May 24 15:01:53 2024 -0400

    Merge branch '12917-group-contents-include-container'
    
    closes #12917
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>


commit 848b252edbfd92854bc2140ec758f089bcb57bae
Author: Tom Clegg <tom at curii.com>
Date:   Wed May 22 16:22:55 2024 -0400

    12917: Update documentation for "include" parameter.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/doc/api/methods/groups.html.textile.liquid b/doc/api/methods/groups.html.textile.liquid
index 05d3fb1c7b..bc49ad68d5 100644
--- a/doc/api/methods/groups.html.textile.liquid
+++ b/doc/api/methods/groups.html.textile.liquid
@@ -113,7 +113,8 @@ table(table table-bordered table-condensed).
 |filters|array|Conditions for filtering items.|query|@[["uuid", "is_a", "arvados#job"]]@|
 |recursive|boolean (default false)|Include items owned by subprojects.|query|@true@|
 |exclude_home_project|boolean (default false)|Only return items which are visible to the user but not accessible within the user's home project.  Use this to get a list of items that are shared with the user.  Uses the logic described under the "shared" endpoint.|query|@true@|
-|include|string|If provided with the value "owner_uuid", this will return owner objects in the "included" field of the response.|query||
+|include|array|Look up objects referenced by the indicated fields and include them in the response. Only "owner_uuid" and "container_uuid" are supported. If "owner_uuid" is given, the parent project or user will be returned. If "container_uuid" is given and container requests are returned in the response, the corresponding container records will also be returned. These referenced objects will be returned in the "included" field of the response. For compatibility, a string @"owner_uuid"@ is accepted as equivalent to @["owner_uuid"]@.|query|@"owner_uuid"@
+@["owner_uuid","container_uuid"]@|
 |include_trash|boolean (default false)|Include trashed objects.|query|@true@|
 |include_old_versions|boolean (default false)|Include past versions of the collections being listed.|query|@true@|
 |select|array|Attributes of each object to return in the response. Specify an unqualified name like @uuid@ to select that attribute on all object types, or a qualified name like @collections.name@ to select that attribute on objects of the specified type. By default, all available attributes are returned, except on collections, where @manifest_text@ is not returned and cannot be selected due to an implementation limitation. This limitation may be removed in the future.|query|@["uuid", "collections.name"]@|
@@ -126,6 +127,8 @@ Use filters with the attribute format @<item type>.<field name>@ to filter items
 
 When called with “include=owner_uuid”, the @included@ field of the response is populated with users, projects, or other groups that own the objects returned in @items at .  This can be used to fetch an object and its parent with a single API call.
 
+When called with “include=container_uuid”, the @included@ field of the response is populated with the container associated with each container request in the response.
+
 
 h3. create
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list