Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a1be3711
Commit
a1be3711
authored
Sep 23, 2021
by
Hank Greenburg
Committed by
Terri Chu
Sep 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix search api docs
parent
5a53744e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/api/search.md
doc/api/search.md
+2
-2
No files found.
doc/api/search.md
View file @
a1be3711
...
...
@@ -1161,7 +1161,7 @@ Blobs searches are performed on both filenames and contents. Search results:
times in the content.
```
shell
curl
--
header
"PRIVATE-TOKEN: <your_access_token>"
"https://gitlab.example.com/api/v4/projects/6/search?scope=blobs&search=installation&ref=feature"
curl
--
request
GET
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/projects/6/search?scope
=
blobs&search
=
keyword%20filename:
*
.py
```
Example response:
...
...
@@ -1175,7 +1175,7 @@ Example response:
"path"
:
"README.md"
,
"filename"
:
"README.md"
,
"id"
:
null
,
"ref"
:
"
feature
"
,
"ref"
:
"
master
"
,
"startline"
:
46
,
"project_id"
:
6
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment