GET /test_api/user
HTTP 200 OK
Content-Type: text/html; charset=utf-8
{
"id": 1,
"login": "example",
"is_admin": false,
"age": 23
}
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<id type="integer">1</id>
<login>example</login>
<is-admin type="boolean">false</is-admin>
<age type="integer">23</age>
</hash>
Path | Verb | Controller#Action |
---|---|---|
user | GET | test_api/user#show |
user | POST | test_api/user#create |
user | PUT | test_api/user#update |
user | PATCH | test_api/user#update |
user | DELETE | test_api/user#destroy |
user | OPTIONS | test_api/user#options |
user/delegated | GET | test_api/user#delegated |
user/with_marbles | GET | test_api/user#with_marbles |
test_api/user/marbles | ||
user/marbles | GET | test_api/user/marbles#index |
user/marbles | POST | test_api/user/marbles#create |
user/marbles | OPTIONS | test_api/user/marbles#options |
user/marbles/:id | GET | test_api/user/marbles#show |
user/marbles/:id | PUT | test_api/user/marbles#update |
user/marbles/:id | PATCH | test_api/user/marbles#update |
user/marbles/:id | DELETE | test_api/user/marbles#destroy |