Merge branch 'master' into fixes/api, code clean up and tests fixed
Conflicts: doc/api/projects.md spec/requests/api/projects_spec.rb
This commit is contained in:
commit
3374027e3a
49 changed files with 820 additions and 163 deletions
|
@ -235,6 +235,23 @@ Parameters:
|
|||
+ `key` (required) - new SSH key
|
||||
|
||||
|
||||
## Add SSH key for user
|
||||
|
||||
Create new key owned by specified user. Available only for admin
|
||||
|
||||
```
|
||||
POST /users/:id/keys
|
||||
```
|
||||
|
||||
Parameters:
|
||||
|
||||
+ `id` (required) - id of specified user
|
||||
+ `title` (required) - new SSH Key's title
|
||||
+ `key` (required) - new SSH key
|
||||
|
||||
Will return created key with status `201 Created` on success, or `404 Not
|
||||
found` on fail.
|
||||
|
||||
## Delete SSH key
|
||||
|
||||
Deletes key owned by currently authenticated user. This is an idempotent function and calling it on a key that is already
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue