v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

List a repository's issues

get/repos/{owner}/{repo}/issues

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Query parameters

state'closed' | 'open' | 'all'

whether issue is open or closed

labelsstring

comma separated list of label names. Fetch only issues that have any of this label names. Non existent labels are discarded.

qstring

search string

type'issues' | 'pulls'

filter by type (issues / pulls) if set

milestonesstring

comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded

sincestring date-time

Only show items updated after the given time. This is a timestamp in RFC 3339 format

beforestring date-time

Only show items updated before the given time. This is a timestamp in RFC 3339 format

created_bystring

Only show items which were created by the given user

assigned_bystring

Only show items for which the given user is assigned

mentioned_bystring

Only show items in which the given user was mentioned

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

IssueList

bodystring
closed_atstring date-time
commentsinteger
content_versioninteger

The version of the issue content for optimistic locking

created_atstring date-time
due_datestring date-time
html_urlstring
idinteger
is_lockedboolean
numberinteger
original_authorstring
original_author_idinteger
pin_orderinteger
refstring
state'open' | 'closed'
time_estimateinteger
titlestring
updated_atstring date-time
urlstring

Example response

[
  {
    "labels": [
      {
        "color": "00aabb"
      }
    ]
  }
]