action prss_get_api_v2_episodes { label: "Gets episodes matching the given criteria." provider: prss method: GET path: "/api/v2/episodes" encoding: json input: { type: "object" properties: { beginAirDateAfter: { type: "string" format: "date-time" } endAirDateBefore: { type: "string" format: "date-time" } id: { type: "integer" format: "int64" } orderById: { type: "string" enum: ["asc", "desc"] } pageSize: { type: "integer" format: "int32" } pageStart: { type: "integer" format: "int32" } programId: { type: "integer" format: "int64" } } required: ["programId"] additionalProperties: false } output: { type: "array" items: { type: "object" description: "An episode that defines a specific air date for an instance of a program." required: ["title", "programId", "beginAirDate", "endAirDate"] properties: { beginAirDate: { type: "string" format: "date-time" description: "The date the air window opens for the episode." } beginTransmissionDate: { type: "string" format: "date-time" description: "The date the live stream begins for the episode. Only set for live and LWSF episodes." } createdDate: { type: "string" format: "date-time" description: "The date the segment was created. Generated at creation." } customerId: { type: "integer" format: "int64" description: "The ID of the customer that owns this programs." } endAirDate: { type: "string" format: "date-time" description: "The date the air window closes for the episode." } endTransmissionDate: { type: "string" format: "date-time" description: "The date the live stream ends for the episode. Only set for live and LWSF episodes." } id: { type: "integer" format: "int64" description: "The unique ID of the episode. Generated at creation." } lastModifiedDate: { type: "string" format: "date-time" description: "The date the segment was last modified/updated. Automatically updated on any write operation." } programId: { type: "integer" format: "int64" description: "The ID of the program that owns this episode." } title: { type: "string" description: "The title of the program." } } } } }