action bbci_get_programme_by_pid { label: "Episode for a given pid." description: "Get the episode for a given episode identifier." provider: bbci method: GET path: "/episodes/{pid}" encoding: json input: { type: "object" properties: { availability: { type: "string" enum: ["all", "available"] } mixin: { type: "array" enum: ["live", "promotions"] items: { type: "string" } } pid: { type: "string" } rights: { type: "string" enum: ["mobile", "tv", "web"] } } required: ["availability", "pid", "rights"] additionalProperties: false } output: { type: "object" } }