summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJohannes Schleifenbaum <johannes@js-webcoding.de>2013-08-30 21:04:26 +0200
committerJohannes Schleifenbaum <johannes@js-webcoding.de>2013-08-30 21:10:26 +0200
commitcbae8097c0af53a20873214bcaccfb3d20c0a76b (patch)
treef8e956de7b5098835c6d8b6022e95419d111d466 /doc/api
parent7008ace6c25a8349af2da5fd0ef5900cad136b6e (diff)
downloadgitlab-ce-cbae8097c0af53a20873214bcaccfb3d20c0a76b.tar.gz
add missing comma(s) in api examples
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/deploy_keys.md6
-rw-r--r--doc/api/session.md2
-rw-r--r--doc/api/users.md16
3 files changed, 12 insertions, 12 deletions
diff --git a/doc/api/deploy_keys.md b/doc/api/deploy_keys.md
index 5a394094fe6..fbb1e45bccd 100644
--- a/doc/api/deploy_keys.md
+++ b/doc/api/deploy_keys.md
@@ -16,14 +16,14 @@ Parameters:
[
{
"id": 1,
- "title" : "Public key"
+ "title" : "Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
},
{
"id": 3,
- "title" : "Another Public key"
+ "title" : "Another Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0="
@@ -48,7 +48,7 @@ Parameters:
```json
{
"id": 1,
- "title" : "Public key"
+ "title" : "Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0="
diff --git a/doc/api/session.md b/doc/api/session.md
index 8caf5fe1862..162d4c8bf78 100644
--- a/doc/api/session.md
+++ b/doc/api/session.md
@@ -27,7 +27,7 @@ __You can login with both GitLab and LDAP credentials now__
"linkedin": "",
"twitter": "",
"dark_scheme": false,
- "theme_id": 1
+ "theme_id": 1,
"is_admin": false,
"can_create_group" : true,
"can_create_team" : true,
diff --git a/doc/api/users.md b/doc/api/users.md
index 20664f1e740..49afbab8c6a 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -22,7 +22,7 @@ GET /users
"twitter": "",
"extern_uid": "john.smith",
"provider": "provider_name",
- "theme_id": 1
+ "theme_id": 1,
"color_scheme_id": 2
},
{
@@ -38,7 +38,7 @@ GET /users
"twitter": "",
"extern_uid": "jack.smith",
"provider": "provider_name",
- "theme_id": 1
+ "theme_id": 1,
"color_scheme_id": 3
}
]
@@ -71,7 +71,7 @@ Parameters:
"twitter": "",
"extern_uid": "john.smith",
"provider": "provider_name",
- "theme_id": 1
+ "theme_id": 1,
"color_scheme_id": 2
}
```
@@ -162,8 +162,8 @@ GET /user
"skype": "",
"linkedin": "",
"twitter": "",
- "theme_id": 1
- "color_scheme_id": 2
+ "theme_id": 1,
+ "color_scheme_id": 2,
"is_admin": false,
"can_create_group" : true,
"can_create_team" : true,
@@ -184,14 +184,14 @@ GET /user/keys
[
{
"id": 1,
- "title" : "Public key"
+ "title" : "Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
},
{
"id": 3,
- "title" : "Another Public key"
+ "title" : "Another Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0="
@@ -219,7 +219,7 @@ Parameters:
```json
{
"id": 1,
- "title" : "Public key"
+ "title" : "Public key",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4
596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4
soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0="