Commit 9c0f6e87146bd9b55cdf84e546e7645b91f99dda
1 parent
b1b8f9a2
Exists in
master
and in
4 other branches
Small fixes added
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. |