How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Gogs Issues API

Manage issues, comments, labels, and milestones

Gogs Issues API is one of 10 APIs that Gogs publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Issues. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 25 operations across 12 paths, and defines 5 schemas. It is described by OpenAPI 3.2.0, at version v1.

Requests are made against a single base URL, https://gogs.example.com/api/v1.

25 operations 12 paths 5 schemas 5 DELETE10 GET4 PATCH5 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1
Server
https://gogs.example.com/api/v1
Authentication
HTTP Basic, API Key
Resource Areas
1

Authentication & Security 2

Gogs Issues API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (BasicAuth). An API key is passed in the header as Authorization (AccessToken). By default, every request must be authenticated.

  • AccessToken — Personal access token. Use format: token {YOURACCESSTOKEN}

Paths & Operations 25

Across 12 paths, the API surfaces 25 operations — 5 DELETE, 10 GET, 4 PATCH, 5 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Issues 25

Manage issues, comments, labels, and milestones

GET
/repos/{owner}/{repo}/issues
List issues for a repository
listIssues 2 params → 200404
POST
/repos/{owner}/{repo}/issues
Create an issue
createIssue 2 params body → 201404422
GET
/repos/{owner}/{repo}/issues/{index}
Get a single issue
getIssue 3 params → 200404
PATCH
/repos/{owner}/{repo}/issues/{index}
Edit an issue
editIssue 3 params body → 200404422
GET
/repos/{owner}/{repo}/issues/{index}/comments
List comments on an issue
listIssueComments 4 params → 200404
POST
/repos/{owner}/{repo}/issues/{index}/comments
Create a comment
createComment 3 params body → 201404422
GET
/repos/{owner}/{repo}/issues/comments
List comments in a repository
listRepoComments 3 params → 200404
PATCH
/repos/{owner}/{repo}/issues/{index}/comments/{id}
Edit a comment
editComment 4 params body → 200404422
DELETE
/repos/{owner}/{repo}/issues/{index}/comments/{id}
Delete a comment
deleteComment 4 params → 204404
GET
/repos/{owner}/{repo}/labels
List all labels for a repository
listLabels 2 params → 200404
POST
/repos/{owner}/{repo}/labels
Create a label
createLabel 2 params body → 201404422
GET
/repos/{owner}/{repo}/labels/{id}
Get a single label
getLabel 3 params → 200404
PATCH
/repos/{owner}/{repo}/labels/{id}
Update a label
updateLabel 3 params body → 200404422
DELETE
/repos/{owner}/{repo}/labels/{id}
Delete a label
deleteLabel 3 params → 204404
GET
/repos/{owner}/{repo}/issues/{index}/labels
List labels on an issue
listIssueLabels 3 params → 200404
POST
/repos/{owner}/{repo}/issues/{index}/labels
Add labels to an issue
addIssueLabels 3 params body → 200404422
PUT
/repos/{owner}/{repo}/issues/{index}/labels
Replace all labels for an issue
replaceIssueLabels 3 params body → 200404422
DELETE
/repos/{owner}/{repo}/issues/{index}/labels
Remove all labels from an issue
removeAllIssueLabels 3 params → 204404
DELETE
/repos/{owner}/{repo}/issues/{index}/labels/{id}
Remove a label from an issue
removeIssueLabel 4 params → 204404
GET
/repos/{owner}/{repo}/milestones
List milestones for a repository
listMilestones 2 params → 200404
POST
/repos/{owner}/{repo}/milestones
Create a milestone
createMilestone 2 params body → 201404422
GET
/repos/{owner}/{repo}/milestones/{id}
Get a single milestone
getMilestone 3 params → 200404
PATCH
/repos/{owner}/{repo}/milestones/{id}
Edit a milestone
editMilestone 3 params body → 200404422
DELETE
/repos/{owner}/{repo}/milestones/{id}
Delete a milestone
deleteMilestone 3 params → 204404
GET
/user/issues
List issues assigned to the authenticated user
listUserIssues 2 params → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Issue (13 properties), Milestone (8 properties), Comment (6 properties), User (6 properties). Each schema is shown below with its type and property counts.

Issue
object
13 properties
Label
object
4 properties
User
object
6 properties
Comment
object
6 properties
Milestone
object
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gogs-issues-api-openapi.yml Raw ↑

Other APIs Gogs publishes across the network.

Gogs API
Gogs Administration API
Gogs Collaborators and Deploy Keys API
Gogs Miscellaneous API
Gogs Organizations API
Gogs Releases API
Gogs Repositories API
Gogs Users API
Gogs Webhooks API
Where this information came from

This is an independent, third-party profile of Gogs Issues API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.