v1

latestOpenAPI 3.0.32026-07-17327475.9 KB
CodeRepoBinding

post/api/v1/products/{product_name}/coderepobindings/{coderepo_binding_name}

Path parameters

product_namestring required

Products to which the resource belongs.

coderepo_binding_namestring required

CodeRepoBinding resource name.

Query parameters

insecure_skip_checkboolean

Whether to skip global resource detection (not recommended).

Request body

productstring

The Code repo is authorized to this product or projects under it.

projectsstring[]

If the project list is empty, it means that the code repo is authorized to the product. If the project list has values, it means that the code repo is authorized to the specified projects.

permissionsstring

Authorization Permissions, readwrite or readonly.

coderepostring

Authorized Code Repository.

Response

OK

messagestring

Msg is a message confirming the save.