Add username to User and UserBasic entities in API and in examples in doc.

This commit is contained in:
Cyril 2012-12-10 23:46:31 +01:00
parent b48852e789
commit d3b8952f8f
8 changed files with 28 additions and 2 deletions

View file

@ -18,6 +18,7 @@ GET /issues
"assignee": null,
"author": {
"id": 1,
"username": "john_smith",
"email": "john@example.com",
"name": "John Smith",
"blocked": false,
@ -46,6 +47,7 @@ GET /issues
},
"assignee": {
"id": 2,
"username": "jack_smith",
"email": "jack@example.com",
"name": "Jack Smith",
"blocked": false,
@ -53,6 +55,7 @@ GET /issues
},
"author": {
"id": 1,
"username": "john_smith",
"email": "john@example.com",
"name": "John Smith",
"blocked": false,
@ -110,6 +113,7 @@ Parameters:
},
"assignee": {
"id": 2,
"username": "jack_smith",
"email": "jack@example.com",
"name": "Jack Smith",
"blocked": false,
@ -117,6 +121,7 @@ Parameters:
},
"author": {
"id": 1,
"username": "john_smith",
"email": "john@example.com",
"name": "John Smith",
"blocked": false,