Commit 7cce2b1506fc9e1da2d933953e026bb8b9d81ba0
Exists in
master
and in
4 other branches
Merge pull request #1484 from AlexDenisov/ssh_keys_api_doc_fixes
Small fixes added to SSH Keys API doc.
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
doc/api/keys.md
| @@ -44,7 +44,7 @@ Parameters: | @@ -44,7 +44,7 @@ Parameters: | ||
| 44 | "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4 | 44 | "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4 |
| 45 | 596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4 | 45 | 596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4 |
| 46 | soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" | 46 | soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" |
| 47 | - } | 47 | +} |
| 48 | ``` | 48 | ``` |
| 49 | ## Add key | 49 | ## Add key |
| 50 | 50 | ||
| @@ -56,8 +56,8 @@ POST /keys | @@ -56,8 +56,8 @@ POST /keys | ||
| 56 | 56 | ||
| 57 | Parameters: | 57 | Parameters: |
| 58 | 58 | ||
| 59 | -+ `title` (required) - new SSH Key | ||
| 60 | -+ `key` (optional) - new SSH key's title | 59 | ++ `title` (required) - new SSH Key's title |
| 60 | ++ `key` (required) - new SSH key | ||
| 61 | 61 | ||
| 62 | Will return created key with status `201 Created` on success, or `404 Not | 62 | Will return created key with status `201 Created` on success, or `404 Not |
| 63 | found` on fail. | 63 | found` on fail. |