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
6f464cf0
Commit
6f464cf0
authored
Dec 07, 2018
by
Jan Provaznik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor issues in search API doc
parent
a2e06ad3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
12 deletions
+16
-12
doc/api/search.md
doc/api/search.md
+16
-12
No files found.
doc/api/search.md
View file @
6f464cf0
...
...
@@ -722,16 +722,22 @@ Example response:
### Scope: wiki_blobs
Filters are available for this scope:
-
filename
-
path
-
extension
To use a filter simply include it in your query like:
`a query filename:some_name*`
.
You may use wildcards (
`*`
) to use glob matching.
Wiki blobs searches are performed on both filenames and contents. Search
results:
-
Found in filenames are displayed before results found in contents.
-
May contain multiple matches for the same blob because the search string
might be found in both the filename and content, and matches of the different
types are displayed separately.
-
May contain multiple matches for the same blob because the search string
might be found if the search string appears multiple times in the content.
might be found in both the filename and content, or might appear multiple
times in the content.
```
bash
curl
--request
GET
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v4/projects/6/search?scope
=
wiki_blobs&search
=
bye
...
...
@@ -788,22 +794,20 @@ Example response:
### Scope: blobs
Filters are available for this scope:
-
filename
-
path
-
extension
to use a filter simply include it in your query like so:
`a query filename:some_name*`
.
To use a filter simply include it in your query like:
`a query filename:some_name*`
.
You may use wildcards (
`*`
) to use glob matching.
Blobs searches are performed on both filenames and contents. Search results:
-
Found in filenames are displayed before results found in contents.
-
May contain multiple matches for the same blob because the search string
might be found in both the filename and content, and matches of the different
types are displayed separately.
-
May contain multiple matches for the same blob because the search string
might be found if the search string appears multiple times in the content.
You may use wildcards (
`*`
) to use glob matching.
might be found in both the filename and content, or might appear multiple
times in the content.
```
bash
curl
--request
GET
--header
"PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK"
https://gitlab.example.com/api/v4/projects/6/search?scope
=
blobs&search
=
installation
...
...
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