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
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-04-25 02:48:22 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-06-04 01:16:31 +0400
commitfd348de76d651d49acc8eb742cc647dc777ef5fc (patch)
tree26f42bef57c9a636eff0a548a29cb1e2e6d12c8c /doc/api/deploy_keys.md
parentde1a7aa7eb523cf2fdad12f8eeda2ba4c5b51820 (diff)
Update docs to markdown style guide.
Diffstat (limited to 'doc/api/deploy_keys.md')
-rw-r--r--doc/api/deploy_keys.md28
1 files changed, 12 insertions, 16 deletions
diff --git a/doc/api/deploy_keys.md b/doc/api/deploy_keys.md
index 6aa7be93c01..e4492fc609c 100644
--- a/doc/api/deploy_keys.md
+++ b/doc/api/deploy_keys.md
@@ -1,6 +1,6 @@
# Deploy Keys
-### List deploy keys
+## List deploy keys
Get a list of a project's deploy keys.
@@ -10,7 +10,7 @@ GET /projects/:id/keys
Parameters:
-+ `id` (required) - The ID of the project
+- `id` (required) - The ID of the project
```json
[
@@ -29,8 +29,7 @@ Parameters:
]
```
-
-### Single deploy key
+## Single deploy key
Get a single key.
@@ -40,8 +39,8 @@ GET /projects/:id/keys/:key_id
Parameters:
-+ `id` (required) - The ID of the project
-+ `key_id` (required) - The ID of the deploy key
+- `id` (required) - The ID of the project
+- `key_id` (required) - The ID of the deploy key
```json
{
@@ -52,8 +51,7 @@ Parameters:
}
```
-
-### Add deploy key
+## Add deploy key
Creates a new deploy key for a project.
If deploy key already exists in another project - it will be joined to project but only if original one was is accessible by same user
@@ -64,12 +62,11 @@ POST /projects/:id/keys
Parameters:
-+ `id` (required) - The ID of the project
-+ `title` (required) - New deploy key's title
-+ `key` (required) - New deploy key
+- `id` (required) - The ID of the project
+- `title` (required) - New deploy key's title
+- `key` (required) - New deploy key
-
-### Delete deploy key
+## Delete deploy key
Delete a deploy key from a project
@@ -79,6 +76,5 @@ DELETE /projects/:id/keys/:key_id
Parameters:
-+ `id` (required) - The ID of the project
-+ `key_id` (required) - The ID of the deploy key
-
+- `id` (required) - The ID of the project
+- `key_id` (required) - The ID of the deploy key