diff options
author | Johannes Schleifenbaum <johannes@js-webcoding.de> | 2014-04-05 10:36:47 +0400 |
---|---|---|
committer | Johannes Schleifenbaum <johannes@js-webcoding.de> | 2014-04-05 10:37:42 +0400 |
commit | 49addad7b5f18776dbd593f628237736e638b28c (patch) | |
tree | 76f4b72c20dd8e92d596dd619791e81076d79fd0 /doc/api/users.md | |
parent | 1f1cfc9eba6d9b60decb4fcd0645fcbfd288925f (diff) |
Api-Doc JSON lint
Fixes: #5505
Diffstat (limited to 'doc/api/users.md')
-rw-r--r-- | doc/api/users.md | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/doc/api/users.md b/doc/api/users.md index 1b9eecf2159..2d5dedb3a39 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -187,8 +187,8 @@ GET /user "theme_id": 1, "color_scheme_id": 2, "is_admin": false, - "can_create_group" : true, - "can_create_project" : true + "can_create_group": true, + "can_create_project": true } ``` @@ -205,17 +205,13 @@ GET /user/keys [ { "id": 1, - "title" : "Public key", - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4 - 596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4 - soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=", + "title": "Public key", + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" }, { "id": 3, - "title" : "Another Public key", - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4 - 596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4 - soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" + "title": "Another Public key", + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" } ] ``` @@ -240,10 +236,8 @@ Parameters: ```json { "id": 1, - "title" : "Public key", - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4 - 596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4 - soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" + "title": "Public key", + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=" } ``` |