Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-07-06 12:48:19 +0300
committerJames Lopez <james@jameslopez.es>2017-07-06 16:27:49 +0300
commit47e17fe12ad009656f0b20469f930d1aa0e742e6 (patch)
tree2b815019faed34daf62faced3c944ff8d4a9c51d /doc/api
parent5540425ad31ec2ddc61aa56e1e54ad876432d37a (diff)
fix docs
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/issues.md4
-rw-r--r--doc/api/snippets.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md
index befcc80de26..067934bd480 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -967,6 +967,8 @@ Comments are done via the [notes](notes.md) resource.
## Get user agent details
+Available only for admins.
+
```
GET /projects/:id/issues/:issue_iid/user_agent_detail
```
@@ -986,6 +988,6 @@ Example response:
{
"user_agent": "AppleWebKit/537.36",
"ip_address": "127.0.0.1",
- "submitted": false,
+ "submitted": false
}
```
diff --git a/doc/api/snippets.md b/doc/api/snippets.md
index 7be6cb3da2d..39d099f0470 100644
--- a/doc/api/snippets.md
+++ b/doc/api/snippets.md
@@ -237,6 +237,8 @@ Example response:
## Get user agent details
+Available only for admins.
+
```
GET /snippets/:id/user_agent_detail
```
@@ -255,6 +257,6 @@ Example response:
{
"user_agent": "AppleWebKit/537.36",
"ip_address": "127.0.0.1",
- "submitted": false,
+ "submitted": false
}
```