We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04783f5 commit b22f1dcCopy full SHA for b22f1dc
routers/api/v1/repo/file.go
@@ -911,6 +911,8 @@ func GetContentsExt(ctx *context.APIContext) {
911
// summary: The extended "contents" API, to get file metadata and/or content, or list a directory.
912
// description: It guarantees that only one of the response fields is set if the request succeeds.
913
// Users can pass "includes=file_content" or "includes=lfs_metadata" to retrieve more fields.
914
+ // "includes=file_content" only works for single file, if you need to retrieve file contents in batch,
915
+ // use "file-contents" API after listing the directory.
916
// produces:
917
// - application/json
918
// parameters:
0 commit comments