GET /api/demo/movies
HTTP 200 OK
{
"count": 49,
"page": 1,
"page_size": 30,
"total_pages": 2,
"next": "https://rails-rest-framework.com/api/demo/movies?page=2",
"results": [
{
"id": 1,
"name": "Vertigo",
"price": "18.34",
"created_at": "2025-01-03T21:13:42.208Z",
"updated_at": "2025-01-03T21:13:42.208Z",
"main_genre": {
"id": 12,
"name": "Documentary"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 2,
"name": "Raging Bull",
"price": "6.63",
"created_at": "2025-01-03T21:13:42.210Z",
"updated_at": "2025-01-03T21:13:42.210Z",
"main_genre": {
"id": 14,
"name": "Family"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 3,
"name": "North by Northwest",
"price": "17.91",
"created_at": "2025-01-03T21:13:42.212Z",
"updated_at": "2025-01-03T21:13:42.212Z",
"main_genre": {
"id": 3,
"name": "Drama"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 4,
"name": "Touch of Evil",
"price": "10.13",
"created_at": "2025-01-03T21:13:42.213Z",
"updated_at": "2025-01-03T21:13:42.213Z",
"main_genre": {
"id": 2,
"name": "Comedy"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 5,
"name": "Cidade de Deus",
"price": "9.56",
"created_at": "2025-01-03T21:13:42.215Z",
"updated_at": "2025-01-03T21:13:42.215Z",
"main_genre": {
"id": 7,
"name": "Horror"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 6,
"name": "WALL·E",
"price": "11.75",
"created_at": "2025-01-03T21:13:42.216Z",
"updated_at": "2025-01-03T21:13:42.216Z",
"main_genre": {
"id": 24,
"name": "Spy"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 7,
"name": "Terminator 2: Judgment Day",
"price": "6.4",
"created_at": "2025-01-03T21:13:42.218Z",
"updated_at": "2025-01-03T21:13:42.218Z",
"main_genre": {
"id": 10,
"name": "Romance"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 8,
"name": "The Departed",
"price": "7.5",
"created_at": "2025-01-03T21:13:42.219Z",
"updated_at": "2025-01-03T21:13:42.219Z",
"main_genre": {
"id": 21,
"name": "Crime"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 9,
"name": "The Sting",
"price": "17.39",
"created_at": "2025-01-03T21:13:42.221Z",
"updated_at": "2025-01-03T21:13:42.221Z",
"main_genre": {
"id": 1,
"name": "Action"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 10,
"name": "Good Will Hunting",
"price": "5.77",
"created_at": "2025-01-03T21:13:42.222Z",
"updated_at": "2025-01-03T21:13:42.222Z",
"main_genre": {
"id": 8,
"name": "Thriller"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 11,
"name": "Memento",
"price": "13.75",
"created_at": "2025-01-03T21:13:42.224Z",
"updated_at": "2025-01-03T21:13:42.224Z",
"main_genre": {
"id": 7,
"name": "Horror"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 12,
"name": "Toy Story 3",
"price": "18.67",
"created_at": "2025-01-03T21:13:42.225Z",
"updated_at": "2025-01-03T21:13:42.225Z",
"main_genre": {
"id": 13,
"name": "Animation"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 13,
"name": "The Truman Show",
"price": "18.91",
"created_at": "2025-01-03T21:13:42.227Z",
"updated_at": "2025-01-03T21:13:42.227Z",
"main_genre": {
"id": 7,
"name": "Horror"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 1,
"login": "example"
},
{
"id": 2,
"login": "admin"
}
],
"users.count": 2,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 14,
"name": "The Bourne Ultimatum",
"price": "7.55",
"created_at": "2025-01-03T21:13:42.228Z",
"updated_at": "2025-01-03T21:13:42.228Z",
"main_genre": {
"id": 3,
"name": "Drama"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 15,
"name": "Heat",
"price": "6.26",
"created_at": "2025-01-03T21:13:42.230Z",
"updated_at": "2025-01-03T21:13:42.230Z",
"main_genre": {
"id": 19,
"name": "Sport"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 16,
"name": "Blade Runner",
"price": "12.01",
"created_at": "2025-01-03T21:13:42.231Z",
"updated_at": "2025-01-03T21:13:42.231Z",
"main_genre": {
"id": 4,
"name": "Fantasy"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 17,
"name": "Dog Day Afternoon",
"price": "14.52",
"created_at": "2025-01-03T21:13:42.232Z",
"updated_at": "2025-01-03T21:13:42.232Z",
"main_genre": {
"id": 20,
"name": "Music"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 18,
"name": "The Lord of the Rings: The Two Towers",
"price": "10.92",
"created_at": "2025-01-03T21:13:42.234Z",
"updated_at": "2025-01-03T21:13:42.234Z",
"main_genre": {
"id": 11,
"name": "Musical"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 19,
"name": "The Green Mile",
"price": "19.56",
"created_at": "2025-01-03T21:13:42.235Z",
"updated_at": "2025-01-03T21:13:42.235Z",
"main_genre": {
"id": 13,
"name": "Animation"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 20,
"name": "A Wednesday",
"price": "14.89",
"created_at": "2025-01-03T21:13:42.237Z",
"updated_at": "2025-01-03T21:13:42.237Z",
"main_genre": {
"id": 21,
"name": "Crime"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 21,
"name": "Back to the Future",
"price": "18.71",
"created_at": "2025-01-03T21:13:42.238Z",
"updated_at": "2025-01-03T21:13:42.238Z",
"main_genre": {
"id": 10,
"name": "Romance"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 22,
"name": "Star Wars: Episode VII - The Force Awakens",
"price": "15.21",
"created_at": "2025-01-03T21:13:42.240Z",
"updated_at": "2025-01-03T21:13:42.240Z",
"main_genre": {
"id": 15,
"name": "Western"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 23,
"name": "Shutter Island",
"price": "11.48",
"created_at": "2025-01-03T21:13:42.241Z",
"updated_at": "2025-01-03T21:13:42.241Z",
"main_genre": {
"id": 18,
"name": "Biography"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 24,
"name": "Jurassic Park",
"price": "6.05",
"created_at": "2025-01-03T21:13:42.243Z",
"updated_at": "2025-01-03T21:13:42.243Z",
"main_genre": {
"id": 15,
"name": "Western"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 25,
"name": "Psycho",
"price": "19.35",
"created_at": "2025-01-03T21:13:42.244Z",
"updated_at": "2025-01-03T21:13:42.244Z",
"main_genre": {
"id": 20,
"name": "Music"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 1,
"login": "example"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 26,
"name": "Oldeuboi",
"price": "8.63",
"created_at": "2025-01-03T21:13:42.246Z",
"updated_at": "2025-01-03T21:13:42.246Z",
"main_genre": {
"id": 23,
"name": "Superhero"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 27,
"name": "Finding Nemo",
"price": "16.73",
"created_at": "2025-01-03T21:13:42.247Z",
"updated_at": "2025-01-03T21:13:42.247Z",
"main_genre": {
"id": 7,
"name": "Horror"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 28,
"name": "Se7en",
"price": "11.59",
"created_at": "2025-01-03T21:13:42.249Z",
"updated_at": "2025-01-03T21:13:42.249Z",
"main_genre": {
"id": 2,
"name": "Comedy"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 29,
"name": "The Lord of the Rings: The Return of the King",
"price": "11.46",
"created_at": "2025-01-03T21:13:42.250Z",
"updated_at": "2025-01-03T21:13:42.250Z",
"main_genre": {
"id": 16,
"name": "War"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 30,
"name": "Seven Samurai",
"price": "5.64",
"created_at": "2025-01-03T21:13:42.252Z",
"updated_at": "2025-01-03T21:13:42.252Z",
"main_genre": {
"id": 10,
"name": "Romance"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
}
]
}
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<count type="integer">49</count>
<page type="integer">1</page>
<page-size type="integer">30</page-size>
<total-pages type="integer">2</total-pages>
<next>https://rails-rest-framework.com/api/demo/movies?page=2</next>
<results type="array">
<result>
<id type="integer">1</id>
<name>Vertigo</name>
<price type="decimal">18.34</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">12</id>
<name>Documentary</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">2</id>
<name>Raging Bull</name>
<price type="decimal">6.63</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">14</id>
<name>Family</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">3</id>
<name>North by Northwest</name>
<price type="decimal">17.91</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">3</id>
<name>Drama</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">4</id>
<name>Touch of Evil</name>
<price type="decimal">10.13</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">2</id>
<name>Comedy</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">5</id>
<name>Cidade de Deus</name>
<price type="decimal">9.56</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">7</id>
<name>Horror</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">6</id>
<name>WALL·E</name>
<price type="decimal">11.75</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">24</id>
<name>Spy</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">7</id>
<name>Terminator 2: Judgment Day</name>
<price type="decimal">6.4</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">10</id>
<name>Romance</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">8</id>
<name>The Departed</name>
<price type="decimal">7.5</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">21</id>
<name>Crime</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">9</id>
<name>The Sting</name>
<price type="decimal">17.39</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">1</id>
<name>Action</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">10</id>
<name>Good Will Hunting</name>
<price type="decimal">5.77</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">8</id>
<name>Thriller</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">11</id>
<name>Memento</name>
<price type="decimal">13.75</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">7</id>
<name>Horror</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">12</id>
<name>Toy Story 3</name>
<price type="decimal">18.67</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">13</id>
<name>Animation</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">13</id>
<name>The Truman Show</name>
<price type="decimal">18.91</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">7</id>
<name>Horror</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">1</id>
<login>example</login>
</user>
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">2</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">14</id>
<name>The Bourne Ultimatum</name>
<price type="decimal">7.55</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">3</id>
<name>Drama</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">15</id>
<name>Heat</name>
<price type="decimal">6.26</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">19</id>
<name>Sport</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">16</id>
<name>Blade Runner</name>
<price type="decimal">12.01</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">4</id>
<name>Fantasy</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">17</id>
<name>Dog Day Afternoon</name>
<price type="decimal">14.52</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">20</id>
<name>Music</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">18</id>
<name>The Lord of the Rings: The Two Towers</name>
<price type="decimal">10.92</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">11</id>
<name>Musical</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">19</id>
<name>The Green Mile</name>
<price type="decimal">19.56</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">13</id>
<name>Animation</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">20</id>
<name>A Wednesday</name>
<price type="decimal">14.89</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">21</id>
<name>Crime</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">21</id>
<name>Back to the Future</name>
<price type="decimal">18.71</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">10</id>
<name>Romance</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">22</id>
<name>Star Wars: Episode VII - The Force Awakens</name>
<price type="decimal">15.21</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">15</id>
<name>Western</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">23</id>
<name>Shutter Island</name>
<price type="decimal">11.48</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">18</id>
<name>Biography</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">24</id>
<name>Jurassic Park</name>
<price type="decimal">6.05</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">15</id>
<name>Western</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">25</id>
<name>Psycho</name>
<price type="decimal">19.35</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">20</id>
<name>Music</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">1</id>
<login>example</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">26</id>
<name>Oldeuboi</name>
<price type="decimal">8.63</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">23</id>
<name>Superhero</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">27</id>
<name>Finding Nemo</name>
<price type="decimal">16.73</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">7</id>
<name>Horror</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">28</id>
<name>Se7en</name>
<price type="decimal">11.59</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">2</id>
<name>Comedy</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">29</id>
<name>The Lord of the Rings: The Return of the King</name>
<price type="decimal">11.46</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">16</id>
<name>War</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array">
<user>
<id type="integer">2</id>
<login>admin</login>
</user>
</users>
<users.count type="integer">1</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">30</id>
<name>Seven Samurai</name>
<price type="decimal">5.64</price>
<created-at type="dateTime">2025-01-03T21:13:42Z</created-at>
<updated-at type="dateTime">2025-01-03T21:13:42Z</updated-at>
<main-genre>
<id type="integer">10</id>
<name>Romance</name>
</main-genre>
<genres type="array"/>
<genres.count type="integer">0</genres.count>
<users type="array"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
</results>
</hash>
Path | Verb | Controller#Action |
---|---|---|
movies | GET | api/demo/movies#index |
movies | POST | api/demo/movies#create |
movies | PUT | api/demo/movies#update_all |
movies | PATCH | api/demo/movies#update_all |
movies | DELETE | api/demo/movies#destroy_all |
movies | OPTIONS | api/demo/movies#options |
movies/random | GET | api/demo/movies#random |
movies/:id | GET | api/demo/movies#show |
movies/:id | PUT | api/demo/movies#update |
movies/:id | PATCH | api/demo/movies#update |
movies/:id | DELETE | api/demo/movies#destroy |
movies/:id/random | GET | api/demo/movies#random |