跳到主要内容

Get Project Custom Roles

GET 

/api/v5/repos/:owner/:repo/customized_roles

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

    User authorization code

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • role_idstring
      access_levelinteger
      role_namestring
      role_chinese_namestring
      role_descriptionstring
      role_typestring
      member_countinteger
      created_atstring
      updated_atstring
    • ]