gitea/routers/api/v1/swagger
Denys Konovalov 9a071a596f
Add API endpoint to request contents of multiple files simultaniously (#34139)
Adds an API POST endpoint under `/repos/{owner}/{repo}/file-contents`
which receives a list of paths and returns a list of the contents of
these files.

This API endpoint will be helpful for applications like headless CMS
(reference: https://github.com/sveltia/sveltia-cms/issues/198) which
need to retrieve a large number of files by reducing the amount of
needed API calls.

Close #33495

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-22 01:20:11 +07:00
..
action.go Feature: Support workflow event dispatch via API (#33545) 2025-02-11 03:05:42 +07:00
activity.go Add activity feeds API (#23494) 2023-04-04 21:35:31 +07:00
activitypub.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
app.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
cron.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
issue.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
key.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
misc.go Add API for Label templates (#24602) 2023-05-23 18:10:23 +07:00
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
notify.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
options.go Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +07:00
org.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
package.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
repo.go Actions Runner rest api (#33873) 2025-04-18 15:22:41 +07:00
settings.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
user.go Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +07:00