aboutsummaryrefslogtreecommitdiffstats
path: root/modules/charset/breakwriter.go
diff options
context:
space:
mode:
authorDenys Konovalov <kontakt@denyskon.de>2025-04-21 19:20:11 +0200
committerGitHub <noreply@github.com>2025-04-22 01:20:11 +0800
commit9a071a596f3bbe76bac615ce1f6f7f2e4a00bad8 (patch)
treeecf06e16aa44a5e05276b34c211deca86f859466 /modules/charset/breakwriter.go
parente947f309b17dff11d60b8561a487776c7a0555ec (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Add API endpoint to request contents of multiple files simultaniously (#34139)HEADmain
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 'modules/charset/breakwriter.go')
0 files changed, 0 insertions, 0 deletions