mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-18 16:03:07 +00:00
Add activity feeds API (#23494)
Close #5666 Add APIs for getting activity feeds.
This commit is contained in:
parent
d149093ce3
commit
6b0df6d8da
10 changed files with 665 additions and 0 deletions
15
routers/api/v1/swagger/activity.go
Normal file
15
routers/api/v1/swagger/activity.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2023 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package swagger
|
||||
|
||||
import (
|
||||
api "code.gitea.io/gitea/modules/structs"
|
||||
)
|
||||
|
||||
// ActivityFeedsList
|
||||
// swagger:response ActivityFeedsList
|
||||
type swaggerActivityFeedsList struct {
|
||||
// in:body
|
||||
Body []api.Activity `json:"body"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue