From 47e17fe12ad009656f0b20469f930d1aa0e742e6 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Thu, 6 Jul 2017 11:48:19 +0200 Subject: fix docs --- doc/api/issues.md | 4 +++- doc/api/snippets.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/api') 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 } ``` -- cgit v1.2.1