v1

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

Returns the contents of a given Repository directory. The Repository must not have a value for git_remote_settings.url.

get/v1/{+name}:queryDirectoryContents

Path parameters

namestring required

Required. The repository's name.

Query parameters

commitShastring

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

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 QueryRepositoryDirectoryContents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to QueryRepositoryDirectoryContents, with the exception of page_size, must match the call that provided the page token.

pathstring

Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.

Response

Successful response