Skip to main content
Glama

MCP API Documentation System

ucms-be_api_docs.json419 kB
{ "openapi": "3.0.0", "info": { "title": "ucms-be API Documentation", "version": "1.0.0", "description": "ucms-be", "framework": "django", "project_path": "/Users/namyoungpark/docs-mcp-server/shared_repos/ucms-be", "total_endpoints": 125 }, "servers": [ { "url": "http://localhost:8009", "description": "API Server" } ], "paths": { "/api/v1/series/": { "get": { "summary": "List series", "description": "Get list of series", "tags": [ "series" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "categories": { "type": "string" }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "age_rating": { "type": "string" }, "produce_country": { "type": "string", "nullable": true }, "seasons": { "type": "string" }, "is_deletable": { "type": "string", "readOnly": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create series", "description": "Create new series", "tags": [ "series" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "categories": { "type": "string" }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "age_rating": { "type": "string" }, "produce_country": { "type": "string", "nullable": true }, "seasons": { "type": "string" }, "is_deletable": { "type": "string", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "categories": { "type": "string" }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "age_rating": { "type": "string" }, "produce_country": { "type": "string", "nullable": true }, "seasons": { "type": "string" }, "is_deletable": { "type": "string", "readOnly": true } }, "required": [ "title" ] } } } } } }, "/api/v1/series/{id}/": { "get": { "summary": "Get series", "description": "Get specific series by ID", "tags": [ "series" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "series ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "categories": { "type": "string" }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "age_rating": { "type": "string" }, "produce_country": { "type": "string", "nullable": true }, "seasons": { "type": "string" }, "is_deletable": { "type": "string", "readOnly": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update series", "description": "Update specific series by ID", "tags": [ "series" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "series ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "categories": { "type": "string" }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "age_rating": { "type": "string" }, "produce_country": { "type": "string", "nullable": true }, "seasons": { "type": "string" }, "is_deletable": { "type": "string", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "categories": { "type": "string" }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "age_rating": { "type": "string" }, "produce_country": { "type": "string", "nullable": true }, "seasons": { "type": "string" }, "is_deletable": { "type": "string", "readOnly": true } }, "required": [ "title" ] } } } } }, "delete": { "summary": "Delete series", "description": "Delete specific series by ID", "tags": [ "series" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "series ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/playlist/": { "get": { "summary": "List playlist", "description": "Get list of playlist", "tags": [ "playlist" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create playlist", "description": "Create new playlist", "tags": [ "playlist" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } }, "required": [] } } } } } }, "/api/v1/playlist/{id}/": { "get": { "summary": "Get playlist", "description": "Get specific playlist by ID", "tags": [ "playlist" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "playlist ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update playlist", "description": "Update specific playlist by ID", "tags": [ "playlist" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "playlist ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } }, "required": [] } } } } }, "delete": { "summary": "Delete playlist", "description": "Delete specific playlist by ID", "tags": [ "playlist" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "playlist ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/contract/": { "get": { "summary": "List contract", "description": "Get list of contract", "tags": [ "contract" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create contract", "description": "Create new contract", "tags": [ "contract" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } }, "required": [] } } } } } }, "/api/v1/contract/{id}/": { "get": { "summary": "Get contract", "description": "Get specific contract by ID", "tags": [ "contract" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "contract ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update contract", "description": "Update specific contract by ID", "tags": [ "contract" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "contract ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } }, "required": [] } } } } }, "delete": { "summary": "Delete contract", "description": "Delete specific contract by ID", "tags": [ "contract" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "contract ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/role/": { "get": { "summary": "List role", "description": "Get list of role", "tags": [ "role" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create role", "description": "Create new role", "tags": [ "role" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } }, "required": [] } } } } } }, "/api/v1/role/{id}/": { "get": { "summary": "Get role", "description": "Get specific role by ID", "tags": [ "role" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "role ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update role", "description": "Update specific role by ID", "tags": [ "role" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "role ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } }, "required": [] } } } } }, "delete": { "summary": "Delete role", "description": "Delete specific role by ID", "tags": [ "role" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "role ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/category/": { "get": { "summary": "List category", "description": "Get list of category", "tags": [ "category" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "description": { "type": "string", "nullable": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create category", "description": "Create new category", "tags": [ "category" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "description": { "type": "string", "nullable": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "description": { "type": "string", "nullable": true } }, "required": [ "name" ] } } } } } }, "/api/v1/category/{id}/": { "get": { "summary": "Get category", "description": "Get specific category by ID", "tags": [ "category" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "category ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "description": { "type": "string", "nullable": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update category", "description": "Update specific category by ID", "tags": [ "category" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "category ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "description": { "type": "string", "nullable": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "description": { "type": "string", "nullable": true } }, "required": [ "name" ] } } } } }, "delete": { "summary": "Delete category", "description": "Delete specific category by ID", "tags": [ "category" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "category ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/cast/": { "get": { "summary": "List cast", "description": "Get list of cast", "tags": [ "cast" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "name_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "gender": { "type": "string", "nullable": true }, "birth_date": { "type": "string", "format": "date", "nullable": true }, "death_date": { "type": "string", "format": "date", "nullable": true }, "nationality": { "type": "string", "nullable": true }, "official_site": { "type": "string", "nullable": true }, "sns_link": { "type": "string", "nullable": true }, "thumbnail": { "type": "string" }, "type": { "type": "string" } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create cast", "description": "Create new cast", "tags": [ "cast" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "name_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "gender": { "type": "string", "nullable": true }, "birth_date": { "type": "string", "format": "date", "nullable": true }, "death_date": { "type": "string", "format": "date", "nullable": true }, "nationality": { "type": "string", "nullable": true }, "official_site": { "type": "string", "nullable": true }, "sns_link": { "type": "string", "nullable": true }, "thumbnail": { "type": "string" }, "type": { "type": "string" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "name_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "gender": { "type": "string", "nullable": true }, "birth_date": { "type": "string", "format": "date", "nullable": true }, "death_date": { "type": "string", "format": "date", "nullable": true }, "nationality": { "type": "string", "nullable": true }, "official_site": { "type": "string", "nullable": true }, "sns_link": { "type": "string", "nullable": true }, "thumbnail": { "type": "string" }, "type": { "type": "string" } }, "required": [ "name" ] } } } } } }, "/api/v1/cast/{id}/": { "get": { "summary": "Get cast", "description": "Get specific cast by ID", "tags": [ "cast" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "cast ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "name_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "gender": { "type": "string", "nullable": true }, "birth_date": { "type": "string", "format": "date", "nullable": true }, "death_date": { "type": "string", "format": "date", "nullable": true }, "nationality": { "type": "string", "nullable": true }, "official_site": { "type": "string", "nullable": true }, "sns_link": { "type": "string", "nullable": true }, "thumbnail": { "type": "string" }, "type": { "type": "string" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update cast", "description": "Update specific cast by ID", "tags": [ "cast" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "cast ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "name_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "gender": { "type": "string", "nullable": true }, "birth_date": { "type": "string", "format": "date", "nullable": true }, "death_date": { "type": "string", "format": "date", "nullable": true }, "nationality": { "type": "string", "nullable": true }, "official_site": { "type": "string", "nullable": true }, "sns_link": { "type": "string", "nullable": true }, "thumbnail": { "type": "string" }, "type": { "type": "string" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "name": { "type": "string", "required": true }, "name_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "gender": { "type": "string", "nullable": true }, "birth_date": { "type": "string", "format": "date", "nullable": true }, "death_date": { "type": "string", "format": "date", "nullable": true }, "nationality": { "type": "string", "nullable": true }, "official_site": { "type": "string", "nullable": true }, "sns_link": { "type": "string", "nullable": true }, "thumbnail": { "type": "string" }, "type": { "type": "string" } }, "required": [ "name" ] } } } } }, "delete": { "summary": "Delete cast", "description": "Delete specific cast by ID", "tags": [ "cast" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "cast ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/content/": { "get": { "summary": "List content", "description": "Get list of content", "tags": [ "content" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create content", "description": "Create new content", "tags": [ "content" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } }, "required": [] } } } } } }, "/api/v1/content/{id}/": { "get": { "summary": "Get content", "description": "Get specific content by ID", "tags": [ "content" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "content ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update content", "description": "Update specific content by ID", "tags": [ "content" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "content ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "genre": { "type": "string", "nullable": true }, "duration": { "type": "string", "readOnly": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "release_date_start": { "type": "string", "format": "date-time", "nullable": true }, "release_date_end": { "type": "string", "format": "date-time", "nullable": true }, "thumbnail": { "type": "string", "readOnly": true }, "active": { "type": "string", "readOnly": true }, "source_id": { "type": "string", "nullable": true }, "gracenote_id": { "type": "string", "nullable": true }, "episode_order": { "type": "integer", "nullable": true }, "discovery_id": { "type": "string", "nullable": true }, "season": { "type": "string", "nullable": true }, "cast": { "type": "string" }, "categories": { "type": "string" }, "mature_content": { "type": "boolean" }, "program_guide": { "type": "string", "nullable": true }, "produce_country": { "type": "string", "nullable": true }, "language": { "type": "string", "nullable": true }, "upload_source": { "type": "string", "nullable": true }, "on_air": { "type": "boolean" }, "on_air_date": { "type": "string", "format": "date", "nullable": true }, "drm_source": { "type": "string", "nullable": true }, "payment_type": { "type": "string", "nullable": true }, "regions": { "type": "string", "nullable": true }, "localizations": { "type": "string", "nullable": true }, "audio_info": { "type": "string", "nullable": true }, "resolution_info": { "type": "string", "nullable": true }, "film_code": { "type": "string", "nullable": true }, "available_country_group": { "type": "string", "nullable": true }, "license_start": { "type": "string", "format": "date-time", "nullable": true }, "license_end": { "type": "string", "format": "date-time", "nullable": true }, "additional_keywords": { "type": "string", "nullable": true }, "custom_keywords": { "type": "string", "nullable": true }, "content_stream_manifests": { "type": "string", "readOnly": true }, "content_type": { "type": "string" }, "age_rating": { "type": "string" }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "contents_file": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "odk_meta": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "distributions": { "type": "string", "readOnly": true }, "subtitles": { "type": "string", "readOnly": true } }, "required": [] } } } } }, "delete": { "summary": "Delete content", "description": "Delete specific content by ID", "tags": [ "content" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "content ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/project/": { "get": { "summary": "List project", "description": "Get list of project", "tags": [ "project" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string" }, "description": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "domain": { "type": "string", "nullable": true }, "logo": { "type": "string", "nullable": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create project", "description": "Create new project", "tags": [ "project" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string" }, "description": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "domain": { "type": "string", "nullable": true }, "logo": { "type": "string", "nullable": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string" }, "description": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "domain": { "type": "string", "nullable": true }, "logo": { "type": "string", "nullable": true } }, "required": [ "title" ] } } } } } }, "/api/v1/project/{id}/": { "get": { "summary": "Get project", "description": "Get specific project by ID", "tags": [ "project" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "project ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string" }, "description": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "domain": { "type": "string", "nullable": true }, "logo": { "type": "string", "nullable": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update project", "description": "Update specific project by ID", "tags": [ "project" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "project ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string" }, "description": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "domain": { "type": "string", "nullable": true }, "logo": { "type": "string", "nullable": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string" }, "description": { "type": "string", "nullable": true }, "slug": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "domain": { "type": "string", "nullable": true }, "logo": { "type": "string", "nullable": true } }, "required": [ "title" ] } } } } }, "delete": { "summary": "Delete project", "description": "Delete specific project by ID", "tags": [ "project" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "project ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/menu/": { "get": { "summary": "List menu", "description": "Get list of menu", "tags": [ "menu" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create menu", "description": "Create new menu", "tags": [ "menu" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } }, "required": [] } } } } } }, "/api/v1/menu/{id}/": { "get": { "summary": "Get menu", "description": "Get specific menu by ID", "tags": [ "menu" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "menu ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update menu", "description": "Update specific menu by ID", "tags": [ "menu" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "menu ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } }, "required": [] } } } } }, "delete": { "summary": "Delete menu", "description": "Delete specific menu by ID", "tags": [ "menu" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "menu ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/season/": { "get": { "summary": "List season", "description": "Get list of season", "tags": [ "season" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "season_order": { "type": "integer", "nullable": true }, "age_rating": { "type": "string" }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "series": { "type": "string" }, "contents": { "type": "string" }, "categories": { "type": "string" }, "program_meta": { "type": "string", "readOnly": true }, "is_deletable": { "type": "string", "readOnly": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create season", "description": "Create new season", "tags": [ "season" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "season_order": { "type": "integer", "nullable": true }, "age_rating": { "type": "string" }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "series": { "type": "string" }, "contents": { "type": "string" }, "categories": { "type": "string" }, "program_meta": { "type": "string", "readOnly": true }, "is_deletable": { "type": "string", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "season_order": { "type": "integer", "nullable": true }, "age_rating": { "type": "string" }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "series": { "type": "string" }, "contents": { "type": "string" }, "categories": { "type": "string" }, "program_meta": { "type": "string", "readOnly": true }, "is_deletable": { "type": "string", "readOnly": true } }, "required": [ "title" ] } } } } } }, "/api/v1/season/{id}/": { "get": { "summary": "Get season", "description": "Get specific season by ID", "tags": [ "season" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "season ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "season_order": { "type": "integer", "nullable": true }, "age_rating": { "type": "string" }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "series": { "type": "string" }, "contents": { "type": "string" }, "categories": { "type": "string" }, "program_meta": { "type": "string", "readOnly": true }, "is_deletable": { "type": "string", "readOnly": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update season", "description": "Update specific season by ID", "tags": [ "season" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "season ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "season_order": { "type": "integer", "nullable": true }, "age_rating": { "type": "string" }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "series": { "type": "string" }, "contents": { "type": "string" }, "categories": { "type": "string" }, "program_meta": { "type": "string", "readOnly": true }, "is_deletable": { "type": "string", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "title": { "type": "string", "required": true }, "title_en": { "type": "string", "nullable": true }, "synopsis": { "type": "string", "nullable": true }, "synopsis_en": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "dubbing_mode": { "type": "string" }, "slug": { "type": "string", "nullable": true }, "season_order": { "type": "integer", "nullable": true }, "age_rating": { "type": "string" }, "release_date_start": { "type": "string", "format": "date", "nullable": true }, "release_date_end": { "type": "string", "format": "date", "nullable": true }, "poster": { "type": "string", "readOnly": true }, "posters": { "type": "string", "readOnly": true }, "cast": { "type": "string" }, "series": { "type": "string" }, "contents": { "type": "string" }, "categories": { "type": "string" }, "program_meta": { "type": "string", "readOnly": true }, "is_deletable": { "type": "string", "readOnly": true } }, "required": [ "title" ] } } } } }, "delete": { "summary": "Delete season", "description": "Delete specific season by ID", "tags": [ "season" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "season ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/account/": { "get": { "summary": "List account", "description": "Get list of account", "tags": [ "account" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "username": { "type": "string", "required": true }, "email": { "type": "string", "required": true }, "first_name": { "type": "string", "required": true }, "last_name": { "type": "string", "required": true }, "company": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "company_id": { "type": "integer" } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create account", "description": "Create new account", "tags": [ "account" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "username": { "type": "string", "required": true }, "email": { "type": "string", "required": true }, "first_name": { "type": "string", "required": true }, "last_name": { "type": "string", "required": true }, "company": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "company_id": { "type": "integer" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "username": { "type": "string", "required": true }, "email": { "type": "string", "required": true }, "first_name": { "type": "string", "required": true }, "last_name": { "type": "string", "required": true }, "company": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "company_id": { "type": "integer" } }, "required": [ "username", "email", "first_name", "last_name" ] } } } } } }, "/api/v1/account/{id}/": { "get": { "summary": "Get account", "description": "Get specific account by ID", "tags": [ "account" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "account ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "username": { "type": "string", "required": true }, "email": { "type": "string", "required": true }, "first_name": { "type": "string", "required": true }, "last_name": { "type": "string", "required": true }, "company": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "company_id": { "type": "integer" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update account", "description": "Update specific account by ID", "tags": [ "account" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "account ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "username": { "type": "string", "required": true }, "email": { "type": "string", "required": true }, "first_name": { "type": "string", "required": true }, "last_name": { "type": "string", "required": true }, "company": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "company_id": { "type": "integer" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "username": { "type": "string", "required": true }, "email": { "type": "string", "required": true }, "first_name": { "type": "string", "required": true }, "last_name": { "type": "string", "required": true }, "company": { "type": "string", "readOnly": true }, "platform": { "type": "string", "readOnly": true }, "company_id": { "type": "integer" } }, "required": [ "username", "email", "first_name", "last_name" ] } } } } }, "delete": { "summary": "Delete account", "description": "Delete specific account by ID", "tags": [ "account" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "account ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/revenue/": { "get": { "summary": "List revenue", "description": "Get list of revenue", "tags": [ "revenue" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "yearmon": { "type": "string", "readOnly": true }, "content_provider": { "type": "string", "required": true }, "title_ko": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "vh": { "type": "number", "format": "decimal", "nullable": true }, "vp": { "type": "integer", "nullable": true }, "video_ad_imp": { "type": "integer", "nullable": true }, "video_rev": { "type": "number", "format": "decimal", "nullable": true }, "display_rev": { "type": "number", "format": "decimal", "nullable": true }, "avod_rev": { "type": "number", "format": "decimal", "nullable": true }, "svod_rev": { "type": "number", "format": "decimal", "nullable": true }, "sponsorship_rev": { "type": "number", "format": "decimal", "nullable": true }, "ppv_rev": { "type": "number", "format": "decimal", "nullable": true }, "distribution_rev": { "type": "number", "format": "decimal", "nullable": true }, "theatrical_rev": { "type": "number", "format": "decimal", "nullable": true }, "total_rev": { "type": "number", "format": "decimal", "nullable": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create revenue", "description": "Create new revenue", "tags": [ "revenue" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "yearmon": { "type": "string", "readOnly": true }, "content_provider": { "type": "string", "required": true }, "title_ko": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "vh": { "type": "number", "format": "decimal", "nullable": true }, "vp": { "type": "integer", "nullable": true }, "video_ad_imp": { "type": "integer", "nullable": true }, "video_rev": { "type": "number", "format": "decimal", "nullable": true }, "display_rev": { "type": "number", "format": "decimal", "nullable": true }, "avod_rev": { "type": "number", "format": "decimal", "nullable": true }, "svod_rev": { "type": "number", "format": "decimal", "nullable": true }, "sponsorship_rev": { "type": "number", "format": "decimal", "nullable": true }, "ppv_rev": { "type": "number", "format": "decimal", "nullable": true }, "distribution_rev": { "type": "number", "format": "decimal", "nullable": true }, "theatrical_rev": { "type": "number", "format": "decimal", "nullable": true }, "total_rev": { "type": "number", "format": "decimal", "nullable": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "yearmon": { "type": "string", "readOnly": true }, "content_provider": { "type": "string", "required": true }, "title_ko": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "vh": { "type": "number", "format": "decimal", "nullable": true }, "vp": { "type": "integer", "nullable": true }, "video_ad_imp": { "type": "integer", "nullable": true }, "video_rev": { "type": "number", "format": "decimal", "nullable": true }, "display_rev": { "type": "number", "format": "decimal", "nullable": true }, "avod_rev": { "type": "number", "format": "decimal", "nullable": true }, "svod_rev": { "type": "number", "format": "decimal", "nullable": true }, "sponsorship_rev": { "type": "number", "format": "decimal", "nullable": true }, "ppv_rev": { "type": "number", "format": "decimal", "nullable": true }, "distribution_rev": { "type": "number", "format": "decimal", "nullable": true }, "theatrical_rev": { "type": "number", "format": "decimal", "nullable": true }, "total_rev": { "type": "number", "format": "decimal", "nullable": true } }, "required": [ "content_provider" ] } } } } } }, "/api/v1/revenue/{id}/": { "get": { "summary": "Get revenue", "description": "Get specific revenue by ID", "tags": [ "revenue" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "revenue ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "yearmon": { "type": "string", "readOnly": true }, "content_provider": { "type": "string", "required": true }, "title_ko": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "vh": { "type": "number", "format": "decimal", "nullable": true }, "vp": { "type": "integer", "nullable": true }, "video_ad_imp": { "type": "integer", "nullable": true }, "video_rev": { "type": "number", "format": "decimal", "nullable": true }, "display_rev": { "type": "number", "format": "decimal", "nullable": true }, "avod_rev": { "type": "number", "format": "decimal", "nullable": true }, "svod_rev": { "type": "number", "format": "decimal", "nullable": true }, "sponsorship_rev": { "type": "number", "format": "decimal", "nullable": true }, "ppv_rev": { "type": "number", "format": "decimal", "nullable": true }, "distribution_rev": { "type": "number", "format": "decimal", "nullable": true }, "theatrical_rev": { "type": "number", "format": "decimal", "nullable": true }, "total_rev": { "type": "number", "format": "decimal", "nullable": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update revenue", "description": "Update specific revenue by ID", "tags": [ "revenue" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "revenue ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "yearmon": { "type": "string", "readOnly": true }, "content_provider": { "type": "string", "required": true }, "title_ko": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "vh": { "type": "number", "format": "decimal", "nullable": true }, "vp": { "type": "integer", "nullable": true }, "video_ad_imp": { "type": "integer", "nullable": true }, "video_rev": { "type": "number", "format": "decimal", "nullable": true }, "display_rev": { "type": "number", "format": "decimal", "nullable": true }, "avod_rev": { "type": "number", "format": "decimal", "nullable": true }, "svod_rev": { "type": "number", "format": "decimal", "nullable": true }, "sponsorship_rev": { "type": "number", "format": "decimal", "nullable": true }, "ppv_rev": { "type": "number", "format": "decimal", "nullable": true }, "distribution_rev": { "type": "number", "format": "decimal", "nullable": true }, "theatrical_rev": { "type": "number", "format": "decimal", "nullable": true }, "total_rev": { "type": "number", "format": "decimal", "nullable": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "yearmon": { "type": "string", "readOnly": true }, "content_provider": { "type": "string", "required": true }, "title_ko": { "type": "string", "nullable": true }, "title_en": { "type": "string", "nullable": true }, "vh": { "type": "number", "format": "decimal", "nullable": true }, "vp": { "type": "integer", "nullable": true }, "video_ad_imp": { "type": "integer", "nullable": true }, "video_rev": { "type": "number", "format": "decimal", "nullable": true }, "display_rev": { "type": "number", "format": "decimal", "nullable": true }, "avod_rev": { "type": "number", "format": "decimal", "nullable": true }, "svod_rev": { "type": "number", "format": "decimal", "nullable": true }, "sponsorship_rev": { "type": "number", "format": "decimal", "nullable": true }, "ppv_rev": { "type": "number", "format": "decimal", "nullable": true }, "distribution_rev": { "type": "number", "format": "decimal", "nullable": true }, "theatrical_rev": { "type": "number", "format": "decimal", "nullable": true }, "total_rev": { "type": "number", "format": "decimal", "nullable": true } }, "required": [ "content_provider" ] } } } } }, "delete": { "summary": "Delete revenue", "description": "Delete specific revenue by ID", "tags": [ "revenue" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "revenue ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/authorization/": { "get": { "summary": "List authorization", "description": "Get list of authorization", "tags": [ "authorization" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "role": { "type": "string", "readOnly": true }, "permission": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create authorization", "description": "Create new authorization", "tags": [ "authorization" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "role": { "type": "string", "readOnly": true }, "permission": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "role": { "type": "string", "readOnly": true }, "permission": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [] } } } } } }, "/api/v1/authorization/{id}/": { "get": { "summary": "Get authorization", "description": "Get specific authorization by ID", "tags": [ "authorization" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "authorization ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "role": { "type": "string", "readOnly": true }, "permission": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update authorization", "description": "Update specific authorization by ID", "tags": [ "authorization" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "authorization ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "role": { "type": "string", "readOnly": true }, "permission": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "role": { "type": "string", "readOnly": true }, "permission": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [] } } } } }, "delete": { "summary": "Delete authorization", "description": "Delete specific authorization by ID", "tags": [ "authorization" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "authorization ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/user_action_history/": { "get": { "summary": "List user_action_history", "description": "Get list of user_action_history", "tags": [ "user_action_history" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "user_username": { "type": "string", "readOnly": true }, "user_email": { "type": "string", "readOnly": true }, "action": { "type": "string", "readOnly": true }, "object_type_name": { "type": "string", "readOnly": true }, "object_id": { "type": "integer", "readOnly": true }, "object_title": { "type": "string", "readOnly": true }, "previous_data": { "type": "string", "nullable": true, "readOnly": true }, "new_data": { "type": "string", "nullable": true, "readOnly": true }, "changed_fields": { "type": "string", "nullable": true, "readOnly": true }, "status_code": { "type": "integer", "nullable": true, "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create user_action_history", "description": "Create new user_action_history", "tags": [ "user_action_history" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "user_username": { "type": "string", "readOnly": true }, "user_email": { "type": "string", "readOnly": true }, "action": { "type": "string", "readOnly": true }, "object_type_name": { "type": "string", "readOnly": true }, "object_id": { "type": "integer", "readOnly": true }, "object_title": { "type": "string", "readOnly": true }, "previous_data": { "type": "string", "nullable": true, "readOnly": true }, "new_data": { "type": "string", "nullable": true, "readOnly": true }, "changed_fields": { "type": "string", "nullable": true, "readOnly": true }, "status_code": { "type": "integer", "nullable": true, "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "user_username": { "type": "string", "readOnly": true }, "user_email": { "type": "string", "readOnly": true }, "action": { "type": "string", "readOnly": true }, "object_type_name": { "type": "string", "readOnly": true }, "object_id": { "type": "integer", "readOnly": true }, "object_title": { "type": "string", "readOnly": true }, "previous_data": { "type": "string", "nullable": true, "readOnly": true }, "new_data": { "type": "string", "nullable": true, "readOnly": true }, "changed_fields": { "type": "string", "nullable": true, "readOnly": true }, "status_code": { "type": "integer", "nullable": true, "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [] } } } } } }, "/api/v1/user_action_history/{id}/": { "get": { "summary": "Get user_action_history", "description": "Get specific user_action_history by ID", "tags": [ "user_action_history" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "user_action_history ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "user_username": { "type": "string", "readOnly": true }, "user_email": { "type": "string", "readOnly": true }, "action": { "type": "string", "readOnly": true }, "object_type_name": { "type": "string", "readOnly": true }, "object_id": { "type": "integer", "readOnly": true }, "object_title": { "type": "string", "readOnly": true }, "previous_data": { "type": "string", "nullable": true, "readOnly": true }, "new_data": { "type": "string", "nullable": true, "readOnly": true }, "changed_fields": { "type": "string", "nullable": true, "readOnly": true }, "status_code": { "type": "integer", "nullable": true, "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update user_action_history", "description": "Update specific user_action_history by ID", "tags": [ "user_action_history" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "user_action_history ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "user_username": { "type": "string", "readOnly": true }, "user_email": { "type": "string", "readOnly": true }, "action": { "type": "string", "readOnly": true }, "object_type_name": { "type": "string", "readOnly": true }, "object_id": { "type": "integer", "readOnly": true }, "object_title": { "type": "string", "readOnly": true }, "previous_data": { "type": "string", "nullable": true, "readOnly": true }, "new_data": { "type": "string", "nullable": true, "readOnly": true }, "changed_fields": { "type": "string", "nullable": true, "readOnly": true }, "status_code": { "type": "integer", "nullable": true, "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "user_username": { "type": "string", "readOnly": true }, "user_email": { "type": "string", "readOnly": true }, "action": { "type": "string", "readOnly": true }, "object_type_name": { "type": "string", "readOnly": true }, "object_id": { "type": "integer", "readOnly": true }, "object_title": { "type": "string", "readOnly": true }, "previous_data": { "type": "string", "nullable": true, "readOnly": true }, "new_data": { "type": "string", "nullable": true, "readOnly": true }, "changed_fields": { "type": "string", "nullable": true, "readOnly": true }, "status_code": { "type": "integer", "nullable": true, "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true } }, "required": [] } } } } }, "delete": { "summary": "Delete user_action_history", "description": "Delete specific user_action_history by ID", "tags": [ "user_action_history" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "user_action_history ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } }, "/api/v1/video_source/": { "get": { "summary": "List video_source", "description": "Get list of video_source", "tags": [ "video_source" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "page", "in": "query", "required": false, "description": "Page number for pagination", "schema": { "type": "integer" }, "example": 1 }, { "name": "page_size", "in": "query", "required": false, "description": "Number of items per page", "schema": { "type": "integer" }, "example": 20 }, { "name": "search", "in": "query", "required": false, "description": "Search term for filtering", "schema": { "type": "string" }, "example": "search term" }, { "name": "ordering", "in": "query", "required": false, "description": "Field to order by (prefix with - for descending)", "schema": { "type": "string" }, "example": "created_at" }, { "name": "filter", "in": "query", "required": false, "description": "Filter parameters", "schema": { "type": "string" }, "example": "status=active" } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of items" }, "next": { "type": "string", "description": "URL to next page", "nullable": true }, "previous": { "type": "string", "description": "URL to previous page", "nullable": true }, "results": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "content": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "guid": { "type": "string", "required": true }, "original_content_url": { "type": "string", "nullable": true }, "status": { "type": "string" }, "video_source": { "type": "string", "required": true } } } } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "post": { "summary": "Create video_source", "description": "Create new video_source", "tags": [ "video_source" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" } ], "responses": { "201": { "description": "Created successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "content": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "guid": { "type": "string", "required": true }, "original_content_url": { "type": "string", "nullable": true }, "status": { "type": "string" }, "video_source": { "type": "string", "required": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "content": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "guid": { "type": "string", "required": true }, "original_content_url": { "type": "string", "nullable": true }, "status": { "type": "string" }, "video_source": { "type": "string", "required": true } }, "required": [ "guid", "video_source" ] } } } } } }, "/api/v1/video_source/{id}/": { "get": { "summary": "Get video_source", "description": "Get specific video_source by ID", "tags": [ "video_source" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "video_source ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "content": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "guid": { "type": "string", "required": true }, "original_content_url": { "type": "string", "nullable": true }, "status": { "type": "string" }, "video_source": { "type": "string", "required": true } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } }, "put": { "summary": "Update video_source", "description": "Update specific video_source by ID", "tags": [ "video_source" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "Content-Type", "in": "header", "required": true, "description": "Content type for request body", "schema": { "type": "string" }, "example": "application/json" }, { "name": "id", "in": "path", "required": true, "description": "video_source ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "200": { "description": "Updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "content": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "guid": { "type": "string", "required": true }, "original_content_url": { "type": "string", "nullable": true }, "status": { "type": "string" }, "video_source": { "type": "string", "required": true } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "field_name": { "type": "array", "items": { "type": "string" }, "description": "Validation errors for specific fields" } } } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } }, "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "content": { "type": "string", "readOnly": true }, "created": { "type": "string", "format": "date-time", "readOnly": true }, "modified": { "type": "string", "format": "date-time", "readOnly": true }, "guid": { "type": "string", "required": true }, "original_content_url": { "type": "string", "nullable": true }, "status": { "type": "string" }, "video_source": { "type": "string", "required": true } }, "required": [ "guid", "video_source" ] } } } } }, "delete": { "summary": "Delete video_source", "description": "Delete specific video_source by ID", "tags": [ "video_source" ], "deprecated": false, "parameters": [ { "name": "Authorization", "in": "header", "required": true, "description": "Bearer token for authentication", "schema": { "type": "string" }, "example": "Bearer <your-token-here>" }, { "name": "id", "in": "path", "required": true, "description": "video_source ID", "schema": { "type": "integer" }, "example": 1 } ], "responses": { "204": { "description": "Deleted successfully" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Not found error message" } } } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Authentication error message" } } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": { "detail": { "type": "string", "description": "Permission error message" } } } } } } } } } }, "tags": [ { "name": "account" }, { "name": "authorization" }, { "name": "cast" }, { "name": "category" }, { "name": "content" }, { "name": "contract" }, { "name": "menu" }, { "name": "playlist" }, { "name": "project" }, { "name": "revenue" }, { "name": "role" }, { "name": "season" }, { "name": "series" }, { "name": "user_action_history" }, { "name": "video_source" } ] }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/namyoungpark-2/docs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server