summaryrefslogtreecommitdiff
path: root/doc/api/search.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-01-19 09:10:32 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-01-19 09:10:32 +0000
commitfcef382cb994b8ecdbff75490bab0425a35f2641 (patch)
tree1789e9bbda6c4beea4451feb7970705296787445 /doc/api/search.md
parentb8f44765693d6f6e4c8df6ab7b7c7b1141f83b26 (diff)
downloadgitlab-ce-fcef382cb994b8ecdbff75490bab0425a35f2641.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/search.md')
-rw-r--r--doc/api/search.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/api/search.md b/doc/api/search.md
index bfa5eb576dc..584b2cbb837 100644
--- a/doc/api/search.md
+++ b/doc/api/search.md
@@ -998,7 +998,9 @@ Example response:
]
```
-### Scope: notes
+### Scope: notes **(STARTER)**
+
+This scope is available only if [Elasticsearch](../integration/elasticsearch.md) is enabled.
```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/6/search?scope=notes&search=maxime"
@@ -1030,7 +1032,9 @@ Example response:
]
```
-### Scope: wiki_blobs
+### Scope: wiki_blobs **(STARTER)**
+
+This scope is available only if [Elasticsearch](../integration/elasticsearch.md) is enabled.
Filters are available for this scope:
@@ -1074,7 +1078,9 @@ Example response:
NOTE:
`filename` is deprecated in favor of `path`. Both return the full path of the file inside the repository, but in the future `filename` will be only the filename and not the full path. For details, see [issue 34521](https://gitlab.com/gitlab-org/gitlab/-/issues/34521).
-### Scope: commits
+### Scope: commits **(STARTER)**
+
+This scope is available only if [Elasticsearch](../integration/elasticsearch.md) is enabled.
```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/6/search?scope=commits&search=bye"
@@ -1105,7 +1111,9 @@ Example response:
]
```
-### Scope: blobs
+### Scope: blobs **(STARTER)**
+
+This scope is available only if [Elasticsearch](../integration/elasticsearch.md) is enabled.
Filters are available for this scope: