1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-03 22:18:12 +00:00
gitea/templates
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
..
admin Align User Details Page Header Layout with Design Specifications () 2025-04-15 01:16:33 -04:00
api/packages/pypi Fix links in PyPI Simple Repository API page () 2024-04-20 01:15:14 +00:00
base Prepare common tmpl functions in a middleware () 2025-03-25 06:17:58 +00:00
custom
devtest markup: improve code block readability and isolate copy button () 2025-04-19 05:53:39 +00:00
explore Fix span svg layout () 2025-04-13 12:44:57 +08:00
mail Remove unnecessary SanitizeHTML from code () 2024-03-04 12:02:45 +00:00
org Fix various misalignments and overflows () 2025-04-17 10:32:41 +00:00
package refactor organization menu () 2025-04-10 12:12:55 -07:00
projects Fix various misalignments and overflows () 2025-04-17 10:32:41 +00:00
repo Fix various UI problems () 2025-04-19 08:43:22 +00:00
shared Optimize the calling code of queryElems () 2025-04-19 08:17:07 +08:00
status Add middleware for request prioritization () 2025-04-14 16:25:48 +02:00
swagger Add API endpoint to request contents of multiple files simultaniously () 2025-04-22 01:20:11 +08:00
user Fix various misalignments and overflows () 2025-04-17 10:32:41 +00:00
webhook Fix incorrect tailwind migration () 2024-03-22 20:51:29 +01:00
home.tmpl Remove urls from translations () 2024-09-02 18:36:24 +00:00
install.tmpl Replace text-align classes with tailwind () 2025-03-16 12:08:16 +00:00
post-install.tmpl Optimize the installation page () 2024-12-31 04:49:26 +00:00