Marbles


              
                GET /test_api/marbles
              
                HTTP 200 OK
Content-Type: text/html; charset=utf-8
{
  "count": 6,
  "page": 1,
  "page_size": 2,
  "total_pages": 3,
  "results": [
    {
      "id": 1,
      "name": "Example Marble 1",
      "price": "4.0"
    },
    {
      "id": 2,
      "name": "Example Marble 2",
      "price": "8.0"
    }
  ]
}
<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <count type="integer">6</count>
  <page type="integer">1</page>
  <page-size type="integer">2</page-size>
  <total-pages type="integer">3</total-pages>
  <results type="array">
    <result>
      <id type="integer">1</id>
      <name>Example Marble 1</name>
      <price type="decimal">4.0</price>
    </result>
    <result>
      <id type="integer">2</id>
      <name>Example Marble 2</name>
      <price type="decimal">8.0</price>
    </result>
  </results>
</hash>
Path Verb Controller#Action
marbles GET test_api/marbles#index
marbles POST test_api/marbles#create
marbles OPTIONS test_api/marbles#options
marbles/alternate_list GET test_api/marbles#alternate_list
marbles/:id GET test_api/marbles#show
marbles/:id PUT test_api/marbles#update
marbles/:id PATCH test_api/marbles#update
marbles/:id DELETE test_api/marbles#destroy
marbles/:id/description GET test_api/marbles#description