GET /test_api/user/with_marbles
HTTP 200 OK
Content-Type: text/html; charset=utf-8
{
"id": 1,
"login": "example",
"is_admin": false,
"marbles": [
{
"id": 1,
"name": "Example Marble 1"
},
{
"id": 2,
"name": "Example Marble 2"
}
]
}
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<id type="integer">1</id>
<login>example</login>
<is-admin type="boolean">false</is-admin>
<marbles type="array">
<marble>
<id type="integer">1</id>
<name>Example Marble 1</name>
</marble>
<marble>
<id type="integer">2</id>
<name>Example Marble 2</name>
</marble>
</marbles>
</hash>
Path | Verb | Controller#Action |
---|---|---|
with_marbles | GET | test_api/user#with_marbles |