v1

latestSwagger 2.0Apache 2.02026-07-17106292284.1 KB
GitOps

list files in the branch

get/kapis/devops.kubesphere.io/v1alpha3/namespaces/{namespace}/gitrepositories/{gitrepository}/branches/{branch}/files

Path parameters

namespacestring required

The namespace name

gitrepositorystring required

The GitRepository customs resource

branchstring required

The branch of git repository

Query parameters

pagestring page=%d

page

limitstring

limit

filestring[] required

must be a directory and ends with '/'

withContentboolean

whether get the base64 encoded content of the file

withLastCommitboolean

whether get the last commit for file

Response

ok

totalItemsinteger required