Marbles With Fields Hash


              
                GET /test_api/marbles_with_fields_hash
              
                HTTP 200 OK
Content-Type: text/html; charset=utf-8
[
  {
    "id": 1,
    "name": "Example Marble 1",
    "price": "4.0"
  },
  {
    "id": 2,
    "name": "Example Marble 2",
    "price": "8.0"
  },
  {
    "id": 3,
    "name": "Admin Marble 1",
    "price": "9.23"
  },
  {
    "id": 4,
    "name": "Admin Marble 2",
    "price": "149.23"
  },
  {
    "id": 5,
    "name": "Orphan Marble 1",
    "price": "4000.0"
  },
  {
    "id": 6,
    "name": "Orphan Marble 2",
    "price": "5000.0"
  }
]
<?xml version="1.0" encoding="UTF-8"?>
<objects type="array">
  <object>
    <id type="integer">1</id>
    <name>Example Marble 1</name>
    <price type="decimal">4.0</price>
  </object>
  <object>
    <id type="integer">2</id>
    <name>Example Marble 2</name>
    <price type="decimal">8.0</price>
  </object>
  <object>
    <id type="integer">3</id>
    <name>Admin Marble 1</name>
    <price type="decimal">9.23</price>
  </object>
  <object>
    <id type="integer">4</id>
    <name>Admin Marble 2</name>
    <price type="decimal">149.23</price>
  </object>
  <object>
    <id type="integer">5</id>
    <name>Orphan Marble 1</name>
    <price type="decimal">4000.0</price>
  </object>
  <object>
    <id type="integer">6</id>
    <name>Orphan Marble 2</name>
    <price type="decimal">5000.0</price>
  </object>
</objects>
Path Verb Controller#Action
marbles_with_fields_hash GET test_api/marbles_with_fields_hash#index
marbles_with_fields_hash POST test_api/marbles_with_fields_hash#create
marbles_with_fields_hash OPTIONS test_api/marbles_with_fields_hash#options
marbles_with_fields_hash/:id GET test_api/marbles_with_fields_hash#show
marbles_with_fields_hash/:id PUT test_api/marbles_with_fields_hash#update
marbles_with_fields_hash/:id PATCH test_api/marbles_with_fields_hash#update
marbles_with_fields_hash/:id DELETE test_api/marbles_with_fields_hash#destroy