跳到主要内容

Config Item CLA

PUT 

/api/v5/repos/:owner/:repo/cla

Request​

Path Parameters

    owner stringrequired

    Repository space address (address path of the enterprise, organization, or individual)

    repo stringrequired

    Repository path (path)

Query Parameters

    access_token stringrequired

Body

    cla_idstring

    The CLA ID to be enabled (from the CLA list interface). Pass cla_id = enable and select this CLA; do not pass = disable project CLA configuration

    enforce_checkboolean

    Is the merging of Pull Requests with incomplete CLA signing prohibited (true prohibits / false does not prohibit). Only meaningful when CLA is enabled.

Responses​

Successful Response

Response Headers