Interface WebhookChannel2023

A NotificationChannel containing the necessary fields for a WebhookChannel2023 channel.

interface WebhookChannel2023 {
    accept?: string;
    endAt?: number;
    id: string;
    lastEmit?: number;
    rate?: number;
    receiveFrom?: string;
    sendTo: string;
    sender?: string;
    startAt?: number;
    state?: string;
    topic: string;
    type: "http://www.w3.org/ns/solid/notifications#WebhookChannel2023";
}

Hierarchy (view full)

Properties

accept?: string

The media type in which the receiver expects the notifications.

endAt?: number

When the channel should stop existing, in milliseconds since epoch.

id: string

The unique identifier of the channel.

lastEmit?: number

Internal value that we use to track when this channel last sent a notification.

rate?: number

The minimal time required between notifications, in milliseconds.

receiveFrom?: string

The resource receivers can use to establish a connection and receive notifications.

sendTo: string

Where the notifications have to be sent.

sender?: string

Can be used to identify the sender.

startAt?: number

When the channel should start sending notifications, in milliseconds since epoch.

state?: string

The state parameter sent by the receiver. This is used to send a notification when the channel is established and the topic resource has a different state.

topic: string

The resource this channel sends notifications about.

type: "http://www.w3.org/ns/solid/notifications#WebhookChannel2023"

The "WebhookChannel2023" type.