gitroast/routers/api/v1/repo
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
..
branch.go Populate URL field of API commits (#3546) 2018-02-20 20:50:42 +08:00
collaborators.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
file.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
fork.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
hook.go Fix API status code for hook creation (#2814) 2017-11-20 15:00:53 +08:00
issue.go Fix swagger docs (#3300) 2018-01-04 14:31:40 +08:00
issue_comment.go Fix comment API paths (#2813) 2017-11-20 15:24:07 +08:00
issue_label.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
issue_tracked_time.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
key.go Writable deploy keys (closes #671) (#3225) 2018-01-07 00:55:53 +02:00
label.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
milestone.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
pull.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
release.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
release_attachment.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
repo.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
star.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
status.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
subscriber.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00