diff options
author | Denys Konovalov <kontakt@denyskon.de> | 2025-04-21 19:20:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-22 01:20:11 +0800 |
commit | 9a071a596f3bbe76bac615ce1f6f7f2e4a00bad8 (patch) | |
tree | ecf06e16aa44a5e05276b34c211deca86f859466 /routers/web/org/projects_test.go | |
parent | e947f309b17dff11d60b8561a487776c7a0555ec (diff) | |
download | gitea-main.tar.gz gitea-main.zip |
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>
Diffstat (limited to 'routers/web/org/projects_test.go')
0 files changed, 0 insertions, 0 deletions