GET /api/demo
HTTP 200 OK
{
"message": "The demo API is a more complex API that demonstrates the framework's more advanced features, primarily pagination and nested resources."
}
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<message>The demo API is a more complex API that demonstrates the framework's more advanced features, primarily pagination and nested resources.</message>
</hash>
Path | Verb | Controller#Action |
---|---|---|
demo | GET | api/demo/root#root |
demo | OPTIONS | api/demo/root#options |
demo/blank | GET | api/demo/root#blank |
demo/echo | POST | api/demo/root#echo |
demo/nil | GET | api/demo/root#nil |
api/demo/emails | ||
demo/emails | GET | api/demo/emails#index |
demo/emails | POST | api/demo/emails#create |
demo/emails | PUT | api/demo/emails#update_all |
demo/emails | PATCH | api/demo/emails#update_all |
demo/emails | DELETE | api/demo/emails#destroy_all |
demo/emails | OPTIONS | api/demo/emails#options |
demo/emails/:id | GET | api/demo/emails#show |
demo/emails/:id | PUT | api/demo/emails#update |
demo/emails/:id | PATCH | api/demo/emails#update |
demo/emails/:id | DELETE | api/demo/emails#destroy |
api/demo/genres | ||
demo/genres | GET | api/demo/genres#index |
demo/genres | POST | api/demo/genres#create |
demo/genres | PUT | api/demo/genres#update_all |
demo/genres | PATCH | api/demo/genres#update_all |
demo/genres | DELETE | api/demo/genres#destroy_all |
demo/genres | OPTIONS | api/demo/genres#options |
demo/genres/:id | GET | api/demo/genres#show |
demo/genres/:id | PUT | api/demo/genres#update |
demo/genres/:id | PATCH | api/demo/genres#update |
demo/genres/:id | DELETE | api/demo/genres#destroy |
api/demo/marbles | ||
demo/marbles | GET | api/demo/marbles#index |
demo/marbles | POST | api/demo/marbles#create |
demo/marbles | PUT | api/demo/marbles#update_all |
demo/marbles | PATCH | api/demo/marbles#update_all |
demo/marbles | DELETE | api/demo/marbles#destroy_all |
demo/marbles | OPTIONS | api/demo/marbles#options |
demo/marbles/:id | GET | api/demo/marbles#show |
demo/marbles/:id | PUT | api/demo/marbles#update |
demo/marbles/:id | PATCH | api/demo/marbles#update |
demo/marbles/:id | DELETE | api/demo/marbles#destroy |
demo/marbles/:id/adjust_price | PATCH | api/demo/marbles#adjust_price |
demo/marbles/:id/toggle_is_discounted | PATCH | api/demo/marbles#toggle_is_discounted |
api/demo/movies | ||
demo/movies | GET | api/demo/movies#index |
demo/movies | POST | api/demo/movies#create |
demo/movies | PUT | api/demo/movies#update_all |
demo/movies | PATCH | api/demo/movies#update_all |
demo/movies | DELETE | api/demo/movies#destroy_all |
demo/movies | OPTIONS | api/demo/movies#options |
demo/movies/:id | GET | api/demo/movies#show |
demo/movies/:id | PUT | api/demo/movies#update |
demo/movies/:id | PATCH | api/demo/movies#update |
demo/movies/:id | DELETE | api/demo/movies#destroy |
api/demo/phone_numbers | ||
demo/phone_numbers | GET | api/demo/phone_numbers#index |
demo/phone_numbers | POST | api/demo/phone_numbers#create |
demo/phone_numbers | PUT | api/demo/phone_numbers#update_all |
demo/phone_numbers | PATCH | api/demo/phone_numbers#update_all |
demo/phone_numbers | DELETE | api/demo/phone_numbers#destroy_all |
demo/phone_numbers | OPTIONS | api/demo/phone_numbers#options |
demo/phone_numbers/:id | GET | api/demo/phone_numbers#show |
demo/phone_numbers/:id | PUT | api/demo/phone_numbers#update |
demo/phone_numbers/:id | PATCH | api/demo/phone_numbers#update |
demo/phone_numbers/:id | DELETE | api/demo/phone_numbers#destroy |
api/demo/users | ||
demo/users | GET | api/demo/users#index |
demo/users | POST | api/demo/users#create |
demo/users | PUT | api/demo/users#update_all |
demo/users | PATCH | api/demo/users#update_all |
demo/users | DELETE | api/demo/users#destroy_all |
demo/users | OPTIONS | api/demo/users#options |
demo/users/:id | GET | api/demo/users#show |
demo/users/:id | PUT | api/demo/users#update |
demo/users/:id | PATCH | api/demo/users#update |
demo/users/:id | DELETE | api/demo/users#destroy |
api/demo/users/marbles | ||
demo/users/:user_id/marbles | GET | api/demo/users/marbles#index |
demo/users/:user_id/marbles | POST | api/demo/users/marbles#create |
demo/users/:user_id/marbles | PUT | api/demo/users/marbles#update_all |
demo/users/:user_id/marbles | PATCH | api/demo/users/marbles#update_all |
demo/users/:user_id/marbles | DELETE | api/demo/users/marbles#destroy_all |
demo/users/:user_id/marbles | OPTIONS | api/demo/users/marbles#options |
demo/users/:user_id/marbles/:id | GET | api/demo/users/marbles#show |
demo/users/:user_id/marbles/:id | PUT | api/demo/users/marbles#update |
demo/users/:user_id/marbles/:id | PATCH | api/demo/users/marbles#update |
demo/users/:user_id/marbles/:id | DELETE | api/demo/users/marbles#destroy |
api/demo/users/movies | ||
demo/users/:user_id/movies | GET | api/demo/users/movies#index |
demo/users/:user_id/movies | POST | api/demo/users/movies#create |
demo/users/:user_id/movies | PUT | api/demo/users/movies#update_all |
demo/users/:user_id/movies | PATCH | api/demo/users/movies#update_all |
demo/users/:user_id/movies | DELETE | api/demo/users/movies#destroy_all |
demo/users/:user_id/movies | OPTIONS | api/demo/users/movies#options |
demo/users/:user_id/movies/:id | GET | api/demo/users/movies#show |
demo/users/:user_id/movies/:id | PUT | api/demo/users/movies#update |
demo/users/:user_id/movies/:id | PATCH | api/demo/users/movies#update |
demo/users/:user_id/movies/:id | DELETE | api/demo/users/movies#destroy |