1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-04 06:27:58 +00:00
gitea/tests
Denys Konovalov 9a071a596f
Add API endpoint to request contents of multiple files simultaniously ()
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 

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-22 01:20:11 +08:00
..
e2e Enable addtional linters () 2025-04-01 10:14:01 +00:00
fuzz Fix fuzz test () 2025-01-09 15:15:47 +08:00
gitea-lfs-meta Test views of LFS files () 2022-12-23 07:41:56 +08:00
gitea-repositories-meta Support choose email when creating a commit via web UI (more) () 2025-01-31 02:36:18 +00:00
integration Add API endpoint to request contents of multiple files simultaniously () 2025-04-22 01:20:11 +08:00
testdata/data Add artifacts test fixture () 2024-11-01 10:29:54 +08:00
mssql.ini.tmpl Fix LFS URL () 2025-03-10 17:36:02 +08:00
mysql.ini.tmpl Fix LFS URL () 2025-03-10 17:36:02 +08:00
pgsql.ini.tmpl Fix LFS URL () 2025-03-10 17:36:02 +08:00
sqlite.ini.tmpl Fix LFS URL () 2025-03-10 17:36:02 +08:00
test_utils.go Uniform all temporary directories and allow customizing temp path () 2025-04-08 16:15:28 +00:00