Interface PushoverValidationResponse

Represents the response received after validating a user or user/device combination.

interface PushoverValidationResponse {
    devices?: string[];
    errors?: string[];
    licenses?: string[];
    request: string;
    status: 0 | 1;
}

Hierarchy

  • PushoverResponse
    • PushoverValidationResponse

Properties

devices?: string[]

A list of the user's registered device names, returned on successful validation.

errors?: string[]

An array of error messages if the request failed (status is 0).

licenses?: string[]

A list of the user's Pushover license types (e.g., 'Android', 'iOS', 'Desktop').

request: string

A unique identifier for the API request, generated by Pushover.

status: 0 | 1

Indicates the status of the request. 1 for success, 0 for failure.