v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Create a comment attachment

post/repos/{owner}/{repo}/issues/comments/{id}/assets

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

idinteger required

id of the comment

Query parameters

namestring

name of the attachment

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