v1

latestSwagger 2.0Apache 2.02026-07-17106292284.1 KB
GitOps

get file from branch

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

Path parameters

namespacestring required

The namespace name

gitrepositorystring required

The GitRepository customs resource

branchstring required

The branch of git repository

filestring required

base64 encoded file path

Query parameters

withContentboolean

whether get the base64 encoded content of the file

Response

ok

datastring required
isBinaryboolean required
isDirboolean required
isSymlinkboolean required
namestring required
sizeinteger required