Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Upload post/comment images/files #2955

Open
1 task done
stigzler opened this issue Jul 26, 2024 · 0 comments
Open
1 task done

[FEAT]: Upload post/comment images/files #2955

stigzler opened this issue Jul 26, 2024 · 0 comments
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request

Comments

@stigzler
Copy link

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:

image

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:

![image](https://github.com/user-attachments/assets/3ea18a27-3dd4-42bf-b486-4c1e8aae1773)

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:

[test.pdf](https://github.com/user-attachments/files/16339507/test.pdf)

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

  • I agree to follow this project's Code of Conduct
@stigzler stigzler added Status: Triage This is being looked at and prioritized Type: Feature New feature or request labels Jul 26, 2024
@kfcampbell kfcampbell added Status: Up for grabs Issues that are ready to be worked on by anyone and removed Status: Triage This is being looked at and prioritized labels Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request
Projects
Status: 🔥 Backlog
Development

No branches or pull requests

2 participants