JSONAPIXtreamServerInfo: {
    type: "server-info";
    id: string;
    attributes: {
        url: string;
        port: string;
        httpsPort: string;
        serverProtocol: string;
        rtmpPort: string;
        timezone: string;
        timeNow: Date;
    };
}

JSON:API Xtream server information

This type represents the server-specific information in JSON:API format

Type declaration

  • type: "server-info"

    The resource type (server-info)

  • id: string

    The unique identifier for the server (URL)

  • attributes: {
        url: string;
        port: string;
        httpsPort: string;
        serverProtocol: string;
        rtmpPort: string;
        timezone: string;
        timeNow: Date;
    }

    The server information attributes

    • url: string

      The base URL of the Xtream server

    • port: string

      The HTTP port number

    • httpsPort: string

      The HTTPS port number

    • serverProtocol: string

      The protocol used by the server

    • rtmpPort: string

      The RTMP port number for streaming

    • timezone: string

      The timezone setting of the server

    • timeNow: Date

      The current server time as a Date object