v1

latestSwagger 2.0Apache 2.02026-07-17106292284.1 KB
GitOps

add files in the branch, file content can either be passed by the request payload, or use the uploaded files by specify uploaded=true

when unpack is true, only the first file of files will be used and it must be a tar gzip archive.

post/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

Request body

branchstring required
messagestring required
overwriteboolean required
unpackboolean required
uploadedboolean required

Response

ok