v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Get an issue

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

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

indexinteger required

index of the issue to get

Response

Issue

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"
    }
  ]
}