Issues

Create a label

post/repos/{owner}/{repo}/labels

Request

  • Base URL
    https://gogs.example.com/api/v1
  • Auth
    API key in header Authorization

Path parameters

ownerstring required

Repository owner

repostring required

Repository name

Request body

namestring required
colorstring required

Hex color code with leading #

Response

Created

idinteger
namestring
colorstring
urlstring

Changes

No recorded changes to this operation across all 3 revisions of this API.