[FEAT]: Upload post/comment images/files #2955
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Feature
New feature or request
Describe the need
Hi. I posted in the forums, but they look pretty dead/unanswered. Original post:
Hi. I'm writing an extension for Visual Studio to allow devs to admin issues/milestones/labels without leaving the IDE. I'm looking for a way to upload dragged and dropped images onto my app against Issue and Comment entries. An bit of an inception example:
The image is of my app displaying an Issue post created directly in github with an image dragged onto it. When the image was dragged onto the web page, it produced the following text:
Which implies it was uploaded into the
user-attachments
area and then referenced.Is there a way to upload to this area via octokit.net? I also notice if I upload a file it seems to go to a different area:
I'm assuming any endpoint would return a url?
Any help appreciated!
PS. This has been an absolute pleasure to develop with. Well done to the team who made this. 🙂👍
SDK Version
12.0.0
API Version
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: