v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Block the issue given in the body by the issue in path

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

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

indexstring required

index of the issue

Request body

indexinteger
ownerstring

owner of the issue's repo

repostring

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