JSONAPIXtreamFullEPGListing: {
    type: "epg-listing";
    id: string;
    attributes: {
        epgId: string;
        title: string;
        language: string;
        start: Date;
        end: Date;
        description: string;
        nowPlaying: boolean;
        hasArchive: boolean;
    };
    relationships: { channel: { data: { type: "channel"; id: string } } };
}

JSON:API Xtream full EPG listing information

This type represents a full EPG listing for a channel in JSON:API format with additional information

Type declaration

  • type: "epg-listing"

    The resource type (epg-listing)

  • id: string

    The unique identifier for the listing

  • attributes: {
        epgId: string;
        title: string;
        language: string;
        start: Date;
        end: Date;
        description: string;
        nowPlaying: boolean;
        hasArchive: boolean;
    }

    The EPG listing attributes

    • epgId: string

      The EPG ID of the listing

    • title: string

      The title of the listing

    • language: string

      The language of the listing

    • start: Date

      The start time of the listing

    • end: Date

      The end time of the listing

    • description: string

      The description of the listing

    • nowPlaying: boolean

      Flag indicating if the listing is currently playing

    • hasArchive: boolean

      Flag indicating if the listing has an archive available

  • relationships: { channel: { data: { type: "channel"; id: string } } }

    The EPG listing relationships

    • channel: { data: { type: "channel"; id: string } }

      The channel relationship

      • data: { type: "channel"; id: string }
        • type: "channel"

          The channel type

        • id: string

          The channel ID