跳到主要内容

Replace All Labels of Issue

PUT 

/api/v5/repos/:owner/:repo/issues/:number/labels

Request​

Path Parameters

    owner stringrequired

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

    repo stringrequired

    Repository path (path)

    number stringrequired

    Issue Number (case-sensitive, do not add #)

Query Parameters

    access_token stringrequired

    User authorization code

Body array

  • Array [
  • string

    Label name

  • ]

Responses​

Response Headers
    Schema
      object