Interface ManifestResponse

Response expected from a ManifestRequest.

interface ManifestResponse {
    api_version?: number;
    forwarded?: boolean;
    id: string | number;
    result: {
        details?: {
            domain: string;
            ephemeral_key: string;
            master_key: string;
            seq: number;
        };
        manifest?: string;
        requested: string;
    };
    status?: string;
    type: string;
    warning?: "load";
    warnings?: ResponseWarning[];
}

Hierarchy (View Summary)

Properties

api_version?: number
forwarded?: boolean
id: string | number
result: {
    details?: {
        domain: string;
        ephemeral_key: string;
        master_key: string;
        seq: number;
    };
    manifest?: string;
    requested: string;
}

Type declaration

  • Optionaldetails?: { domain: string; ephemeral_key: string; master_key: string; seq: number }

    The data contained in this manifest. Omitted if the server does not have A manifest for the public_key from the request.

  • Optionalmanifest?: string

    The full manifest data in base64 format. This data is serialized to binary before being base64-encoded. Omitted if the server does not have a manifest for the public_key from the request.

  • requested: string

    The public_key from the request.

status?: string
type: string
warning?: "load"
warnings?: ResponseWarning[]