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
Response
ok