v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1352131166.0 KB
projects

Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.

get/v1/{+location}:queryUserRootContents

Path parameters

locationstring required

Required. Location of the user root folder to list contents for. Format: projects//locations/

Query parameters

filterstring

Optional. Optional filtering for the returned list. Filtering is currently only supported on the display_name field. Example: * filter="display_name="MyFolder""

orderBystring

Optional. Field to additionally sort results by. Will order Folders before Repositories, and then by order_by in ascending order. Supported keywords: display_name (default), created_at, last_modified_at. Examples: * orderBy="display_name" * orderBy="display_name desc"

pageSizeinteger

Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

pageTokenstring

Optional. Page token received from a previous QueryUserRootContents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to QueryUserRootFolderContents, with the exception of page_size, must match the call that provided the page token.

Response

Successful response