GET /api
HTTP 200 OK
{
"message": "This is the test app for Rails REST Framework. There are three APIs:",
"plain_api": {
"message": "The plain API is a simple API that demonstrates the basic functionality of the framework.",
"url": "http://rails-rest-framework.com/api/plain"
},
"demo_api": {
"message": "The demo API is a more complex API that demonstrates the framework's more advanced features, primarily pagination and nested resources.",
"url": "http://rails-rest-framework.com/api/demo"
},
"test_api": {
"message": "The test API contains a lot of really weird controllers for testing specific features.",
"url": "http://rails-rest-framework.com/api/test"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<message>This is the test app for Rails REST Framework. There are three APIs:</message>
<plain-api>
<message>The plain API is a simple API that demonstrates the basic functionality of the framework.</message>
<url>http://rails-rest-framework.com/api/plain</url>
</plain-api>
<demo-api>
<message>The demo API is a more complex API that demonstrates the framework's more advanced features, primarily pagination and nested resources.</message>
<url>http://rails-rest-framework.com/api/demo</url>
</demo-api>
<test-api>
<message>The test API contains a lot of really weird controllers for testing specific features.</message>
<url>http://rails-rest-framework.com/api/test</url>
</test-api>
</hash>
Path | Verb | Controller#Action |
---|---|---|
api | GET | api/root#root |
api | OPTIONS | api/root#options |
api/dev_test | GET | api/root#dev_test |
api/demo/emails | ||
api/demo/emails | GET | api/demo/emails#index |
api/demo/emails | POST | api/demo/emails#create |
api/demo/emails | PUT | api/demo/emails#update_all |
api/demo/emails | PATCH | api/demo/emails#update_all |
api/demo/emails | DELETE | api/demo/emails#destroy_all |
api/demo/emails | OPTIONS | api/demo/emails#options |
api/demo/emails/:id | GET | api/demo/emails#show |
api/demo/emails/:id | PUT | api/demo/emails#update |
api/demo/emails/:id | PATCH | api/demo/emails#update |
api/demo/emails/:id | DELETE | api/demo/emails#destroy |
api/demo/genres | ||
api/demo/genres | GET | api/demo/genres#index |
api/demo/genres | POST | api/demo/genres#create |
api/demo/genres | PUT | api/demo/genres#update_all |
api/demo/genres | PATCH | api/demo/genres#update_all |
api/demo/genres | DELETE | api/demo/genres#destroy_all |
api/demo/genres | OPTIONS | api/demo/genres#options |
api/demo/genres/:id | GET | api/demo/genres#show |
api/demo/genres/:id | PUT | api/demo/genres#update |
api/demo/genres/:id | PATCH | api/demo/genres#update |
api/demo/genres/:id | DELETE | api/demo/genres#destroy |
api/demo/marbles | ||
api/demo/marbles | GET | api/demo/marbles#index |
api/demo/marbles | POST | api/demo/marbles#create |
api/demo/marbles | PUT | api/demo/marbles#update_all |
api/demo/marbles | PATCH | api/demo/marbles#update_all |
api/demo/marbles | DELETE | api/demo/marbles#destroy_all |
api/demo/marbles | OPTIONS | api/demo/marbles#options |
api/demo/marbles/:id | GET | api/demo/marbles#show |
api/demo/marbles/:id | PUT | api/demo/marbles#update |
api/demo/marbles/:id | PATCH | api/demo/marbles#update |
api/demo/marbles/:id | DELETE | api/demo/marbles#destroy |
api/demo/marbles/:id/adjust_price | PATCH | api/demo/marbles#adjust_price |
api/demo/marbles/:id/toggle_is_discounted | PATCH | api/demo/marbles#toggle_is_discounted |
api/demo/movies | ||
api/demo/movies | GET | api/demo/movies#index |
api/demo/movies | POST | api/demo/movies#create |
api/demo/movies | PUT | api/demo/movies#update_all |
api/demo/movies | PATCH | api/demo/movies#update_all |
api/demo/movies | DELETE | api/demo/movies#destroy_all |
api/demo/movies | OPTIONS | api/demo/movies#options |
api/demo/movies/:id | GET | api/demo/movies#show |
api/demo/movies/:id | PUT | api/demo/movies#update |
api/demo/movies/:id | PATCH | api/demo/movies#update |
api/demo/movies/:id | DELETE | api/demo/movies#destroy |
api/demo/phone_numbers | ||
api/demo/phone_numbers | GET | api/demo/phone_numbers#index |
api/demo/phone_numbers | POST | api/demo/phone_numbers#create |
api/demo/phone_numbers | PUT | api/demo/phone_numbers#update_all |
api/demo/phone_numbers | PATCH | api/demo/phone_numbers#update_all |
api/demo/phone_numbers | DELETE | api/demo/phone_numbers#destroy_all |
api/demo/phone_numbers | OPTIONS | api/demo/phone_numbers#options |
api/demo/phone_numbers/:id | GET | api/demo/phone_numbers#show |
api/demo/phone_numbers/:id | PUT | api/demo/phone_numbers#update |
api/demo/phone_numbers/:id | PATCH | api/demo/phone_numbers#update |
api/demo/phone_numbers/:id | DELETE | api/demo/phone_numbers#destroy |
api/demo/root | ||
api/demo | GET | api/demo/root#root |
api/demo | OPTIONS | api/demo/root#options |
api/demo/blank | GET | api/demo/root#blank |
api/demo/echo | POST | api/demo/root#echo |
api/demo/nil | GET | api/demo/root#nil |
api/demo/users | ||
api/demo/users | GET | api/demo/users#index |
api/demo/users | POST | api/demo/users#create |
api/demo/users | PUT | api/demo/users#update_all |
api/demo/users | PATCH | api/demo/users#update_all |
api/demo/users | DELETE | api/demo/users#destroy_all |
api/demo/users | OPTIONS | api/demo/users#options |
api/demo/users/:id | GET | api/demo/users#show |
api/demo/users/:id | PUT | api/demo/users#update |
api/demo/users/:id | PATCH | api/demo/users#update |
api/demo/users/:id | DELETE | api/demo/users#destroy |
api/demo/users/marbles | ||
api/demo/users/:user_id/marbles | GET | api/demo/users/marbles#index |
api/demo/users/:user_id/marbles | POST | api/demo/users/marbles#create |
api/demo/users/:user_id/marbles | PUT | api/demo/users/marbles#update_all |
api/demo/users/:user_id/marbles | PATCH | api/demo/users/marbles#update_all |
api/demo/users/:user_id/marbles | DELETE | api/demo/users/marbles#destroy_all |
api/demo/users/:user_id/marbles | OPTIONS | api/demo/users/marbles#options |
api/demo/users/:user_id/marbles/:id | GET | api/demo/users/marbles#show |
api/demo/users/:user_id/marbles/:id | PUT | api/demo/users/marbles#update |
api/demo/users/:user_id/marbles/:id | PATCH | api/demo/users/marbles#update |
api/demo/users/:user_id/marbles/:id | DELETE | api/demo/users/marbles#destroy |
api/demo/users/movies | ||
api/demo/users/:user_id/movies | GET | api/demo/users/movies#index |
api/demo/users/:user_id/movies | POST | api/demo/users/movies#create |
api/demo/users/:user_id/movies | PUT | api/demo/users/movies#update_all |
api/demo/users/:user_id/movies | PATCH | api/demo/users/movies#update_all |
api/demo/users/:user_id/movies | DELETE | api/demo/users/movies#destroy_all |
api/demo/users/:user_id/movies | OPTIONS | api/demo/users/movies#options |
api/demo/users/:user_id/movies/:id | GET | api/demo/users/movies#show |
api/demo/users/:user_id/movies/:id | PUT | api/demo/users/movies#update |
api/demo/users/:user_id/movies/:id | PATCH | api/demo/users/movies#update |
api/demo/users/:user_id/movies/:id | DELETE | api/demo/users/movies#destroy |
api/plain/emails | ||
api/plain/emails | GET | api/plain/emails#index |
api/plain/emails | POST | api/plain/emails#create |
api/plain/emails | OPTIONS | api/plain/emails#options |
api/plain/emails/:id | GET | api/plain/emails#show |
api/plain/emails/:id | PUT | api/plain/emails#update |
api/plain/emails/:id | PATCH | api/plain/emails#update |
api/plain/emails/:id | DELETE | api/plain/emails#destroy |
api/plain/genres | ||
api/plain/genres | GET | api/plain/genres#index |
api/plain/genres | POST | api/plain/genres#create |
api/plain/genres | OPTIONS | api/plain/genres#options |
api/plain/genres/:id | GET | api/plain/genres#show |
api/plain/genres/:id | PUT | api/plain/genres#update |
api/plain/genres/:id | PATCH | api/plain/genres#update |
api/plain/genres/:id | DELETE | api/plain/genres#destroy |
api/plain/marbles | ||
api/plain/marbles | GET | api/plain/marbles#index |
api/plain/marbles | POST | api/plain/marbles#create |
api/plain/marbles | OPTIONS | api/plain/marbles#options |
api/plain/marbles/:id | GET | api/plain/marbles#show |
api/plain/marbles/:id | PUT | api/plain/marbles#update |
api/plain/marbles/:id | PATCH | api/plain/marbles#update |
api/plain/marbles/:id | DELETE | api/plain/marbles#destroy |
api/plain/movies | ||
api/plain/movies | GET | api/plain/movies#index |
api/plain/movies | POST | api/plain/movies#create |
api/plain/movies | OPTIONS | api/plain/movies#options |
api/plain/movies/:id | GET | api/plain/movies#show |
api/plain/movies/:id | PUT | api/plain/movies#update |
api/plain/movies/:id | PATCH | api/plain/movies#update |
api/plain/movies/:id | DELETE | api/plain/movies#destroy |
api/plain/phone_numbers | ||
api/plain/phone_numbers | GET | api/plain/phone_numbers#index |
api/plain/phone_numbers | POST | api/plain/phone_numbers#create |
api/plain/phone_numbers | OPTIONS | api/plain/phone_numbers#options |
api/plain/phone_numbers/:id | GET | api/plain/phone_numbers#show |
api/plain/phone_numbers/:id | PUT | api/plain/phone_numbers#update |
api/plain/phone_numbers/:id | PATCH | api/plain/phone_numbers#update |
api/plain/phone_numbers/:id | DELETE | api/plain/phone_numbers#destroy |
api/plain/root | ||
api/plain | GET | api/plain/root#root |
api/plain | OPTIONS | api/plain/root#options |
api/plain/users | ||
api/plain/users | GET | api/plain/users#index |
api/plain/users | POST | api/plain/users#create |
api/plain/users | OPTIONS | api/plain/users#options |
api/plain/users/:id | GET | api/plain/users#show |
api/plain/users/:id | PUT | api/plain/users#update |
api/plain/users/:id | PATCH | api/plain/users#update |
api/plain/users/:id | DELETE | api/plain/users#destroy |
api/test | ||
api/test | GET | api/test#root |
api/test | OPTIONS | api/test#options |
api/test/active_model_serializer/marbles | ||
api/test/active_model_serializer/marbles | GET | api/test/active_model_serializer/marbles#index |
api/test/active_model_serializer/marbles | POST | api/test/active_model_serializer/marbles#create |
api/test/active_model_serializer/marbles | OPTIONS | api/test/active_model_serializer/marbles#options |
api/test/active_model_serializer/marbles/:id | GET | api/test/active_model_serializer/marbles#show |
api/test/active_model_serializer/marbles/:id | PUT | api/test/active_model_serializer/marbles#update |
api/test/active_model_serializer/marbles/:id | PATCH | api/test/active_model_serializer/marbles#update |
api/test/active_model_serializer/marbles/:id | DELETE | api/test/active_model_serializer/marbles#destroy |
api/test/genres_with_fields_hash | ||
api/test/genres_with_fields_hash | GET | api/test/genres_with_fields_hash#index |
api/test/genres_with_fields_hash | POST | api/test/genres_with_fields_hash#create |
api/test/genres_with_fields_hash | OPTIONS | api/test/genres_with_fields_hash#options |
api/test/genres_with_fields_hash/:id | GET | api/test/genres_with_fields_hash#show |
api/test/genres_with_fields_hash/:id | PUT | api/test/genres_with_fields_hash#update |
api/test/genres_with_fields_hash/:id | PATCH | api/test/genres_with_fields_hash#update |
api/test/genres_with_fields_hash/:id | DELETE | api/test/genres_with_fields_hash#destroy |
api/test/marble | ||
api/test/marble | GET | api/test/marble#show |
api/test/marble | OPTIONS | api/test/marble#options |
api/test/marble/another_changed | GET | api/test/marble#another_changed_action |
api/test/marble/changed | GET | api/test/marble#changed_action |
api/test/marbles | ||
api/test/marbles | GET | api/test/marbles#index |
api/test/marbles | POST | api/test/marbles#create |
api/test/marbles | PUT | api/test/marbles#update_all |
api/test/marbles | PATCH | api/test/marbles#update_all |
api/test/marbles | DELETE | api/test/marbles#destroy_all |
api/test/marbles | OPTIONS | api/test/marbles#options |
api/test/marbles/alternate_list | GET | api/test/marbles#alternate_list |
api/test/marbles/:id | GET | api/test/marbles#show |
api/test/marbles/:id | PUT | api/test/marbles#update |
api/test/marbles/:id | PATCH | api/test/marbles#update |
api/test/marbles/:id | DELETE | api/test/marbles#destroy |
api/test/marbles/:id/description | GET | api/test/marbles#description |
api/test/marbles_with_added_select | ||
api/test/marbles_with_added_select | GET | api/test/marbles_with_added_select#index |
api/test/marbles_with_added_select | POST | api/test/marbles_with_added_select#create |
api/test/marbles_with_added_select | OPTIONS | api/test/marbles_with_added_select#options |
api/test/marbles_with_added_select/:id | GET | api/test/marbles_with_added_select#show |
api/test/marbles_with_added_select/:id | PUT | api/test/marbles_with_added_select#update |
api/test/marbles_with_added_select/:id | PATCH | api/test/marbles_with_added_select#update |
api/test/marbles_with_added_select/:id | DELETE | api/test/marbles_with_added_select#destroy |
api/test/marbles_with_bare_create | ||
api/test/marbles_with_bare_create | POST | api/test/marbles_with_bare_create#create |
api/test/marbles_with_bare_create | OPTIONS | api/test/marbles_with_bare_create#options |
api/test/marbles_with_fields_hash | ||
api/test/marbles_with_fields_hash | GET | api/test/marbles_with_fields_hash#index |
api/test/marbles_with_fields_hash | POST | api/test/marbles_with_fields_hash#create |
api/test/marbles_with_fields_hash | OPTIONS | api/test/marbles_with_fields_hash#options |
api/test/marbles_with_fields_hash/:id | GET | api/test/marbles_with_fields_hash#show |
api/test/marbles_with_fields_hash/:id | PUT | api/test/marbles_with_fields_hash#update |
api/test/marbles_with_fields_hash/:id | PATCH | api/test/marbles_with_fields_hash#update |
api/test/marbles_with_fields_hash/:id | DELETE | api/test/marbles_with_fields_hash#destroy |
api/test/marbles_with_string_serializer | ||
api/test/marbles_with_string_serializer | GET | api/test/marbles_with_string_serializer#index |
api/test/marbles_with_string_serializer | POST | api/test/marbles_with_string_serializer#create |
api/test/marbles_with_string_serializer | OPTIONS | api/test/marbles_with_string_serializer#options |
api/test/marbles_with_string_serializer/:id | GET | api/test/marbles_with_string_serializer#show |
api/test/marbles_with_string_serializer/:id | PUT | api/test/marbles_with_string_serializer#update |
api/test/marbles_with_string_serializer/:id | PATCH | api/test/marbles_with_string_serializer#update |
api/test/marbles_with_string_serializer/:id | DELETE | api/test/marbles_with_string_serializer#destroy |
api/test/marbles_with_sub_fields | ||
api/test/marbles_with_sub_fields | GET | api/test/marbles_with_sub_fields#index |
api/test/marbles_with_sub_fields | POST | api/test/marbles_with_sub_fields#create |
api/test/marbles_with_sub_fields | OPTIONS | api/test/marbles_with_sub_fields#options |
api/test/marbles_with_sub_fields/:id | GET | api/test/marbles_with_sub_fields#show |
api/test/marbles_with_sub_fields/:id | PUT | api/test/marbles_with_sub_fields#update |
api/test/marbles_with_sub_fields/:id | PATCH | api/test/marbles_with_sub_fields#update |
api/test/marbles_with_sub_fields/:id | DELETE | api/test/marbles_with_sub_fields#destroy |
api/test/marbles_without_rescue_unknown_format | ||
api/test/marbles_without_rescue_unknown_format | GET | api/test/marbles_without_rescue_unknown_format#index |
api/test/marbles_without_rescue_unknown_format | POST | api/test/marbles_without_rescue_unknown_format#create |
api/test/marbles_without_rescue_unknown_format | OPTIONS | api/test/marbles_without_rescue_unknown_format#options |
api/test/marbles_without_rescue_unknown_format/:id | GET | api/test/marbles_without_rescue_unknown_format#show |
api/test/marbles_without_rescue_unknown_format/:id | PUT | api/test/marbles_without_rescue_unknown_format#update |
api/test/marbles_without_rescue_unknown_format/:id | PATCH | api/test/marbles_without_rescue_unknown_format#update |
api/test/marbles_without_rescue_unknown_format/:id | DELETE | api/test/marbles_without_rescue_unknown_format#destroy |
api/test/network | ||
api/test/network | OPTIONS | api/test/network#options |
api/test/network/test | GET | api/test/network#test |
api/test/read_only_marbles | ||
api/test/read_only_marbles | GET | api/test/read_only_marbles#index |
api/test/read_only_marbles | OPTIONS | api/test/read_only_marbles#options |
api/test/read_only_marbles/:id | GET | api/test/read_only_marbles#show |
api/test/user | ||
api/test/user | GET | api/test/user#show |
api/test/user | POST | api/test/user#create |
api/test/user | PUT | api/test/user#update |
api/test/user | PATCH | api/test/user#update |
api/test/user | DELETE | api/test/user#destroy |
api/test/user | OPTIONS | api/test/user#options |
api/test/user/delegated | GET | api/test/user#delegated |
api/test/user/with_marbles | GET | api/test/user#with_marbles |
api/test/user/marbles | ||
api/test/user/marbles | GET | api/test/user/marbles#index |
api/test/user/marbles | POST | api/test/user/marbles#create |
api/test/user/marbles | OPTIONS | api/test/user/marbles#options |
api/test/user/marbles/:id | GET | api/test/user/marbles#show |
api/test/user/marbles/:id | PUT | api/test/user/marbles#update |
api/test/user/marbles/:id | PATCH | api/test/user/marbles#update |
api/test/user/marbles/:id | DELETE | api/test/user/marbles#destroy |