[PR #3075] [CLOSED] Added attachments to releases API #16750

Closed
opened 2025-11-02 12:18:13 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3075
Author: @stefan-lacatus
Created: 12/3/2017
Status: Closed

Base: masterHead: master


📝 Commits (7)

  • 041b64e Model changes to support attachments in apis
  • 87bcd3b Router API changes to support releases attachments in apis
  • c788b3d Model changes to support attachments in apis
  • a253b34 Fixed adding the same endpoints twice.
  • 25b23c2 Added swagger definitions to the new endpoints
  • fdc4d39 Merge branch 'master' into master
  • d1f288a Merge branch 'master' into master

📊 Changes

5 files changed (+241 additions, -7 deletions)

View changed files

📝 models/attachment.go (+52 -0)
📝 models/release.go (+21 -4)
📝 routers/api/v1/api.go (+10 -3)
📝 routers/api/v1/repo/release.go (+146 -0)
📝 routers/api/v1/swagger/misc.go (+12 -0)

📄 Description

See #2084 for details. This is exactly the same PR, just on top of master.

Needs https://github.com/go-gitea/go-sdk/pull/83 to work.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3075 **Author:** [@stefan-lacatus](https://github.com/stefan-lacatus) **Created:** 12/3/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`041b64e`](https://github.com/go-gitea/gitea/commit/041b64e07f187bddb94d5d358fb180f12c9e5d00) Model changes to support attachments in apis - [`87bcd3b`](https://github.com/go-gitea/gitea/commit/87bcd3bfa689afdc53388b1f0e614e8b6f05b63c) Router API changes to support releases attachments in apis - [`c788b3d`](https://github.com/go-gitea/gitea/commit/c788b3d95a03f4739725ea2f40a3cc3ae98fb1c3) Model changes to support attachments in apis - [`a253b34`](https://github.com/go-gitea/gitea/commit/a253b347d18d8bcecf673b8812dfbdef25d3b653) Fixed adding the same endpoints twice. - [`25b23c2`](https://github.com/go-gitea/gitea/commit/25b23c22c9abcb8bf189541e48bceadac5e23576) Added swagger definitions to the new endpoints - [`fdc4d39`](https://github.com/go-gitea/gitea/commit/fdc4d3909c639ade979460dad1a1de5caa68c61d) Merge branch 'master' into master - [`d1f288a`](https://github.com/go-gitea/gitea/commit/d1f288a06e1db71be3dd0e98942594e2595383a6) Merge branch 'master' into master ### 📊 Changes **5 files changed** (+241 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `models/attachment.go` (+52 -0) 📝 `models/release.go` (+21 -4) 📝 `routers/api/v1/api.go` (+10 -3) 📝 `routers/api/v1/repo/release.go` (+146 -0) 📝 `routers/api/v1/swagger/misc.go` (+12 -0) </details> ### 📄 Description See #2084 for details. This is exactly the same PR, just on top of master. Needs https://github.com/go-gitea/go-sdk/pull/83 to work. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:18:13 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16750