You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support to add an attachment with issue note #56
Is is possible to add in support for adding an attachment with the project issue note, I see the api supports it. I just dont see how to do it with the tool.
I don't see this feature in the gitlab API. Attachments seem to appear in the GET/LIST requests, but I don't see how they can be created. Or maybe I'm missing something?
I believe your correct they dont seem to allow it in the api, which is quite strange. But don't worry we have it figured out. I'll close this now, thanks
Activity
gpocentek commentedon Feb 24, 2015
I don't see this feature in the gitlab API. Attachments seem to appear in the GET/LIST requests, but I don't see how they can be created. Or maybe I'm missing something?
archey commentedon Feb 24, 2015
I believe your correct they dont seem to allow it in the api, which is quite strange. But don't worry we have it figured out. I'll close this now, thanks
d0c-s4vage commentedon Mar 17, 2017
iirc this does exist in the API now. I'm going to see if I can get it working within python-gitlab and submit a pull request.
See: https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/projects.md#upload-a-file
d0c-s4vage commentedon Mar 17, 2017
@gpocentek do you want to reopen this issue, or should I open a new issue for file uploads?
gpocentek commentedon Mar 17, 2017
@d0c-s4vage let's re-open this one. Thank you for checking!
added project upload features.
File upload should be mostly complete
unit-test fix and pep8-compatability changes
pep8 issues taken care of now
Reworked the upload return value and updated docs and tests
Forgot to update a few lines in the py functional tests
Removed non-existent key "id" in file upload tests