action bbci_get_episodes_by_category { label: "List all the episodes for a category." description: "Get the list of all the episodes for a given category in TV & iPlayer." provider: bbci method: GET path: "/categories/{category}/episodes" encoding: json input: { type: "object" properties: { availability: { type: "string" enum: ["all", "available"] } category: { type: "string" } lang: { type: "string" enum: ["en", "cy", "ga", "gd", "pi"] } page: { type: "integer" format: "int64" } per_page: { type: "integer" format: "int64" } rights: { type: "string" enum: ["mobile", "tv", "web"] } sort: { type: "string" enum: ["recent", "popular"] } } required: ["availability", "category", "lang", "page", "per_page", "rights"] additionalProperties: false } output: { type: "object" } }