跳到主要内容

Create Issue Label

POST 

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

Request​

Path Parameters

    owner stringrequired

    Repository space address (organization or individual's address path)

    repo stringrequired

    Repository path (path)

    number stringrequired

    issue number

Query Parameters

    access_token stringrequired

    User authorization code

Body array

  • Array [
  • string

    Label name

  • ]

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • colorstring
      namestring
      idinteger
      titlestring
      typenull
      textColorstring
    • ]