github-api icon indicating copy to clipboard operation
github-api copied to clipboard

Support for attachments on Issues (Add, Get, and Remove)

Open GaborCsikos opened this issue 7 years ago • 3 comments

I want to download attachments added to Github issue. Usually an attachment is added to in Issue into the body of the comment.

My problem is the GHIssueComment has a body as a String. So i can not get the attachments.

I could see that the GHRepository has a method getBlob(String blobSha) But I do not know that this is what i need, also i do not know the blobSha.

How could I get the attachments uploaded to issues?

GaborCsikos avatar Aug 25 '18 14:08 GaborCsikos

@GaborCsikos Looks like this may not be available in the API: https://github.com/isaacs/github/issues/1133

bitwiseman avatar Jan 16 '20 20:01 bitwiseman

I'm going to reopen this to help people find it. GitHub does not support this at this time via the API.

bitwiseman avatar Jan 20 '21 20:01 bitwiseman

@bitwiseman Thank you, After 2 years I'm not sure this enhancement will be added.

GaborCsikos avatar Jan 02 '23 21:01 GaborCsikos