gitea/vendor/code.gitea.io/sdk/gitea
Jonas Franz 9a5e628a7e Add Attachment API (#3478)
* Add Attachment API
* repos/:owner/:repo/releases (add attachments)
* repos/:owner/:repo/releases/:id (add attachments)
* repos/:owner/:repo/releases/:id/attachments
* repos/:owner/:repo/releases/:id/attachments/:attachment_id

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Add unit tests for new attachment functions
Fix comments

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* fix lint

* Update vendor.json

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* remove version of sdk

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix unit tests
Add missing license header

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add CreateReleaseAttachment
Add EditReleaseAttachment
Add DeleteReleaseAttachment

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add filename query parameter for choosing another name for an attachment

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix order of imports

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Restricting updatable attachment columns

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* gofmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Update go-sdk
Replace Attachments with Assets

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Update go-sdk

Signed-off-by: Jonas Franz <info@jonasfranz.de>

* Updating go-sdk and regenerating swagger

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add missing file of go-sdk

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Change origin of code.gitea.io/sdk to code.gitea.io/sdk
Update code.gitea.io/sdk

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Update swagger

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Update updateAttachment
2018-03-06 09:22:16 +08:00
..
admin_org.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
admin_repo.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
admin_user.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
attachment.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
doc.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
fork.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
gitea.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
hook.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_comment.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_label.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_milestone.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_tracked_time.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
lfs_lock.go Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
miscellaneous.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
org.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
org_member.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
org_team.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
pull.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
release.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
repo.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
repo_branch.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
repo_collaborator.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
repo_file.go Fix import path of go-sdk (#141) 2016-11-11 17:39:44 +08:00
repo_key.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
repo_watch.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
status.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user_app.go Improve swagger doc (#2274) 2017-08-21 14:13:47 +03:00
user_email.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
user_follow.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
user_gpgkey.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user_key.go Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
user_search.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
utils.go Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00