Is it possible to attach a file to a GitHub Issue via the API?

Viewed 1346

I would like to create a GitHub issue with an attached excel spreadsheet via the GitHub API. I can successfully create the issue, https://developer.github.com/v3/issues/ but can't find any info on how to upload a file with the API. I just need the file connected to the issue, I'm not picky if it's in the original issue post, or uploaded as a comment.

Is this possible? I figure not since I can't find docs, but wanted to check.

1 Answers
Related