GET /test_api/user/marbles
HTTP 200 OK
Content-Type: text/html; charset=utf-8
[
{
"id": 1,
"name": "Example Marble 1"
},
{
"id": 2,
"name": "Example Marble 2"
}
]
<?xml version="1.0" encoding="UTF-8"?>
<objects type="array">
<object>
<id type="integer">1</id>
<name>Example Marble 1</name>
</object>
<object>
<id type="integer">2</id>
<name>Example Marble 2</name>
</object>
</objects>
Path | Verb | Controller#Action |
---|---|---|
marbles | GET | test_api/user/marbles#index |
marbles | POST | test_api/user/marbles#create |
marbles | OPTIONS | test_api/user/marbles#options |
marbles/:id | GET | test_api/user/marbles#show |
marbles/:id | PUT | test_api/user/marbles#update |
marbles/:id | PATCH | test_api/user/marbles#update |
marbles/:id | DELETE | test_api/user/marbles#destroy |