action bbci_get_episodes_by_parent_pid { label: "Child episodes for a given programme pid." description: "Get the child episodes belonging to a given programme identifier." provider: bbci method: GET path: "/programmes/{pid}/episodes" encoding: json input: { type: "object" properties: { availability: { type: "string" enum: ["all", "available"] } initial_child_count: { type: "integer" } pid: { type: "string" } rights: { type: "string" enum: ["mobile", "tv", "web"] } } required: ["availability", "initial_child_count", "pid", "rights"] additionalProperties: false } output: { type: "object" } }