Issues

Create an issue

post/repos/{owner}/{repo}/issues

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

titlestring required
bodystring
assigneestring
milestoneinteger
labelsinteger[]
closedboolean

Response

Created

idinteger
numberinteger
state'open' | 'closed'
titlestring
bodystring
commentsinteger
pull_requestobject nullable
created_atstring date-time
updated_atstring date-time

Changes

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