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:
authorEwan Edwards <eedwards@perforce.com>2015-01-30 21:24:45 +0300
committerEwan Edwards <eedwards@perforce.com>2015-01-30 21:24:45 +0300
commite6e337088bbb4736983119928b6b6b451bd3ef20 (patch)
treeb4052034e51615b85f7f09ca71012a398638a3d9 /doc/api
parentc47328948b5fff218c68279260a57ab6b03e7423 (diff)
Make all non-config/non-operational mentions of URL consistently
capitalized. Make the plural version consistently "URLs". Fix an instance where the article "the" before URL was missing.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/README.md4
-rw-r--r--doc/api/services.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/README.md b/doc/api/README.md
index 8f919f5257d..8cbba8598d5 100644
--- a/doc/api/README.md
+++ b/doc/api/README.md
@@ -97,7 +97,7 @@ Return values:
## Sudo
-All API requests support performing an api call as if you were another user, if your private token is for an administration account. You need to pass `sudo` parameter by url or header with an id or username of the user you want to perform the operation as. If passed as header, the header name must be "SUDO" (capitals).
+All API requests support performing an api call as if you were another user, if your private token is for an administration account. You need to pass `sudo` parameter by URL or header with an id or username of the user you want to perform the operation as. If passed as header, the header name must be "SUDO" (capitals).
If a non administrative `private_token` is provided then an error message will be returned with status code 403:
@@ -142,7 +142,7 @@ When listing resources you can pass the following parameters:
- `page` (default: `1`) - page number
- `per_page` (default: `20`, max: `100`) - number of items to list per page
-[Link headers](http://www.w3.org/wiki/LinkHeader) are send back with each response. These have `rel` prev/next/first/last and contain the relevant URL. Please use these instead of generating your own urls.
+[Link headers](http://www.w3.org/wiki/LinkHeader) are send back with each response. These have `rel` prev/next/first/last and contain the relevant URL. Please use these instead of generating your own URLs.
## id vs iid
diff --git a/doc/api/services.md b/doc/api/services.md
index ab9f9c00c67..93534d5502e 100644
--- a/doc/api/services.md
+++ b/doc/api/services.md
@@ -13,7 +13,7 @@ PUT /projects/:id/services/gitlab-ci
Parameters:
- `token` (required) - CI project token
-- `project_url` (required) - CI project url
+- `project_url` (required) - CI project URL
### Delete GitLab CI service