v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Get an issue attachment

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

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

indexinteger required

index of the issue

attachment_idinteger required

id of the attachment to get

Response

Attachment

browser_download_urlstring

DownloadURL is the URL to download the attachment

created_atstring date-time

Created is the time when the attachment was uploaded

download_countinteger

DownloadCount is the number of times the attachment has been downloaded

idinteger

ID is the unique identifier for the attachment

namestring

Name is the filename of the attachment

sizeinteger

Size is the file size in bytes

uuidstring

UUID is the unique identifier for the attachment file