GET /api/demo/movies
HTTP 200 OK
{
"count": 44,
"page": 1,
"page_size": 30,
"total_pages": 2,
"next": "https://rails-rest-framework.com/api/demo/movies?page=2",
"results": [
{
"id": 1,
"created_at": "2026-04-23T01:22:02.239Z",
"name": "Interstellar",
"price": "13.89",
"updated_at": "2026-04-23T01:22:02.239Z",
"main_genre": {
"id": 19,
"name": "Sport"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 2,
"created_at": "2026-04-23T01:22:02.241Z",
"name": "The Terminator",
"price": "5.83",
"updated_at": "2026-04-23T01:22:02.241Z",
"main_genre": {
"id": 4,
"name": "Fantasy"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 3,
"created_at": "2026-04-23T01:22:02.242Z",
"name": "Monsters, Inc.",
"price": "8.52",
"updated_at": "2026-04-23T01:22:02.242Z",
"main_genre": {
"id": 13,
"name": "Animation"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 4,
"created_at": "2026-04-23T01:22:02.243Z",
"name": "Gran Torino",
"price": "6.2",
"updated_at": "2026-04-23T01:22:02.243Z",
"main_genre": {
"id": 13,
"name": "Animation"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 5,
"created_at": "2026-04-23T01:22:02.245Z",
"name": "Hotel Rwanda",
"price": "6.38",
"updated_at": "2026-04-23T01:22:02.245Z",
"main_genre": {
"id": 19,
"name": "Sport"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 6,
"created_at": "2026-04-23T01:22:02.248Z",
"name": "The Green Mile",
"price": "12.97",
"updated_at": "2026-04-23T01:22:02.248Z",
"main_genre": {
"id": 9,
"name": "Mystery"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 7,
"created_at": "2026-04-23T01:22:02.249Z",
"name": "Django Unchained",
"price": "5.99",
"updated_at": "2026-04-23T01:22:02.249Z",
"main_genre": {
"id": 18,
"name": "Biography"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 8,
"created_at": "2026-04-23T01:22:02.251Z",
"name": "Inception",
"price": "6.92",
"updated_at": "2026-04-23T01:22:02.251Z",
"main_genre": {
"id": 19,
"name": "Sport"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 9,
"created_at": "2026-04-23T01:22:02.252Z",
"name": "Sunset Blvd.",
"price": "12.72",
"updated_at": "2026-04-23T01:22:02.252Z",
"main_genre": {
"id": 9,
"name": "Mystery"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 10,
"created_at": "2026-04-23T01:22:02.255Z",
"name": "The Dark Knight",
"price": "14.84",
"updated_at": "2026-04-23T01:22:02.255Z",
"main_genre": {
"id": 6,
"name": "Sci-Fi"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 1,
"login": "example"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 11,
"created_at": "2026-04-23T01:22:02.256Z",
"name": "The Great Escape",
"price": "9.5",
"updated_at": "2026-04-23T01:22:02.256Z",
"main_genre": {
"id": 9,
"name": "Mystery"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 12,
"created_at": "2026-04-23T01:22:02.257Z",
"name": "The General",
"price": "12.11",
"updated_at": "2026-04-23T01:22:02.257Z",
"main_genre": {
"id": 8,
"name": "Thriller"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 13,
"created_at": "2026-04-23T01:22:02.259Z",
"name": "Stand by Me",
"price": "18.94",
"updated_at": "2026-04-23T01:22:02.259Z",
"main_genre": {
"id": 11,
"name": "Musical"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 14,
"created_at": "2026-04-23T01:22:02.260Z",
"name": "Star Wars: Episode IX – The Rise of Skywalker",
"price": "7.7",
"updated_at": "2026-04-23T01:22:02.260Z",
"main_genre": {
"id": 13,
"name": "Animation"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 15,
"created_at": "2026-04-23T01:22:02.262Z",
"name": "Bicycle Thieves",
"price": "14.77",
"updated_at": "2026-04-23T01:22:02.262Z",
"main_genre": {
"id": 8,
"name": "Thriller"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 16,
"created_at": "2026-04-23T01:22:02.264Z",
"name": "Batman Begins",
"price": "14.3",
"updated_at": "2026-04-23T01:22:02.264Z",
"main_genre": {
"id": 12,
"name": "Documentary"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 17,
"created_at": "2026-04-23T01:22:02.266Z",
"name": "Modern Times",
"price": "6.6",
"updated_at": "2026-04-23T01:22:02.266Z",
"main_genre": {
"id": 7,
"name": "Horror"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 18,
"created_at": "2026-04-23T01:22:02.267Z",
"name": "Star Wars: Episode IV – A New Hope",
"price": "6.22",
"updated_at": "2026-04-23T01:22:02.267Z",
"main_genre": {
"id": 12,
"name": "Documentary"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 1,
"login": "example"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 19,
"created_at": "2026-04-23T01:22:02.268Z",
"name": "Before Sunrise",
"price": "9.12",
"updated_at": "2026-04-23T01:22:02.268Z",
"main_genre": {
"id": 16,
"name": "War"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 20,
"created_at": "2026-04-23T01:22:02.270Z",
"name": "Dial M for Murder",
"price": "19.56",
"updated_at": "2026-04-23T01:22:02.270Z",
"main_genre": {
"id": 18,
"name": "Biography"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 21,
"created_at": "2026-04-23T01:22:02.271Z",
"name": "Catch Me If You Can",
"price": "5.15",
"updated_at": "2026-04-23T01:22:02.271Z",
"main_genre": {
"id": 16,
"name": "War"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 22,
"created_at": "2026-04-23T01:22:02.273Z",
"name": "Raging Bull",
"price": "16.25",
"updated_at": "2026-04-23T01:22:02.273Z",
"main_genre": {
"id": 17,
"name": "History"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 23,
"created_at": "2026-04-23T01:22:02.274Z",
"name": "The Matrix",
"price": "6.6",
"updated_at": "2026-04-23T01:22:02.274Z",
"main_genre": {
"id": 23,
"name": "Superhero"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 1,
"login": "example"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 24,
"created_at": "2026-04-23T01:22:02.275Z",
"name": "Princess Mononoke",
"price": "11.3",
"updated_at": "2026-04-23T01:22:02.275Z",
"main_genre": {
"id": 6,
"name": "Sci-Fi"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 25,
"created_at": "2026-04-23T01:22:02.277Z",
"name": "The Godfather",
"price": "8.45",
"updated_at": "2026-04-23T01:22:02.277Z",
"main_genre": {
"id": 4,
"name": "Fantasy"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 1,
"login": "example"
},
{
"id": 2,
"login": "admin"
}
],
"users.count": 2,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 26,
"created_at": "2026-04-23T01:22:02.279Z",
"name": "Rocky",
"price": "9.45",
"updated_at": "2026-04-23T01:22:02.279Z",
"main_genre": {
"id": 8,
"name": "Thriller"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 27,
"created_at": "2026-04-23T01:22:02.281Z",
"name": "Star Wars: Episode VII - The Force Awakens",
"price": "16.63",
"updated_at": "2026-04-23T01:22:02.281Z",
"main_genre": {
"id": 7,
"name": "Horror"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 2,
"login": "admin"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 28,
"created_at": "2026-04-23T01:22:02.282Z",
"name": "The Maltese Falcon",
"price": "5.84",
"updated_at": "2026-04-23T01:22:02.282Z",
"main_genre": {
"id": 6,
"name": "Sci-Fi"
},
"genres": [],
"genres.count": 0,
"users": [
{
"id": 1,
"login": "example"
}
],
"users.count": 1,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 29,
"created_at": "2026-04-23T01:22:02.283Z",
"name": "Judgment at Nuremberg",
"price": "7.97",
"updated_at": "2026-04-23T01:22:02.283Z",
"main_genre": {
"id": 10,
"name": "Romance"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
},
{
"id": 30,
"created_at": "2026-04-23T01:22:02.286Z",
"name": "Into the Wild",
"price": "14.33",
"updated_at": "2026-04-23T01:22:02.286Z",
"main_genre": {
"id": 14,
"name": "Family"
},
"genres": [],
"genres.count": 0,
"users": [],
"users.count": 0,
"description": "",
"cover": null,
"pictures": []
}
]
}<?xml version="1.0" encoding="UTF-8"?>
<hash>
<count type="integer">44</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>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Interstellar</name>
<price type="decimal">13.89</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">
<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>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>The Terminator</name>
<price type="decimal">5.83</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">3</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Monsters, Inc.</name>
<price type="decimal">8.52</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">4</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Gran Torino</name>
<price type="decimal">6.2</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">5</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Hotel Rwanda</name>
<price type="decimal">6.38</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">6</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>The Green Mile</name>
<price type="decimal">12.97</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</updated-at>
<main-genre>
<id type="integer">9</id>
<name>Mystery</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">7</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Django Unchained</name>
<price type="decimal">5.99</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">8</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Inception</name>
<price type="decimal">6.92</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">9</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Sunset Blvd.</name>
<price type="decimal">12.72</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</updated-at>
<main-genre>
<id type="integer">9</id>
<name>Mystery</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">10</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>The Dark Knight</name>
<price type="decimal">14.84</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</updated-at>
<main-genre>
<id type="integer">6</id>
<name>Sci-Fi</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">11</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>The Great Escape</name>
<price type="decimal">9.5</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</updated-at>
<main-genre>
<id type="integer">9</id>
<name>Mystery</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>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>The General</name>
<price type="decimal">12.11</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">13</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Stand by Me</name>
<price type="decimal">18.94</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">
<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">14</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Star Wars: Episode IX – The Rise of Skywalker</name>
<price type="decimal">7.7</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">15</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Bicycle Thieves</name>
<price type="decimal">14.77</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">
<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">16</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Batman Begins</name>
<price type="decimal">14.3</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">17</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Modern Times</name>
<price type="decimal">6.6</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">18</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Star Wars: Episode IV – A New Hope</name>
<price type="decimal">6.22</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">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">19</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Before Sunrise</name>
<price type="decimal">9.12</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">20</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Dial M for Murder</name>
<price type="decimal">19.56</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">
<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>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Catch Me If You Can</name>
<price type="decimal">5.15</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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"/>
<users.count type="integer">0</users.count>
<description></description>
<cover nil="true"/>
<pictures type="array"/>
</result>
<result>
<id type="integer">22</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Raging Bull</name>
<price type="decimal">16.25</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</updated-at>
<main-genre>
<id type="integer">17</id>
<name>History</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>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>The Matrix</name>
<price type="decimal">6.6</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">
<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">24</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Princess Mononoke</name>
<price type="decimal">11.3</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</updated-at>
<main-genre>
<id type="integer">6</id>
<name>Sci-Fi</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>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>The Godfather</name>
<price type="decimal">8.45</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">
<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">26</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Rocky</name>
<price type="decimal">9.45</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">27</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Star Wars: Episode VII - The Force Awakens</name>
<price type="decimal">16.63</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>The Maltese Falcon</name>
<price type="decimal">5.84</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</updated-at>
<main-genre>
<id type="integer">6</id>
<name>Sci-Fi</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">29</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Judgment at Nuremberg</name>
<price type="decimal">7.97</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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">30</id>
<created-at type="dateTime">2026-04-23T01:22:02Z</created-at>
<name>Into the Wild</name>
<price type="decimal">14.33</price>
<updated-at type="dateTime">2026-04-23T01:22:02Z</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"/>
<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 |