Interface ShardArchiveSyncStatusResponse

Archive sync checkpoint and pending operation count.

interface ShardArchiveSyncStatusResponse {
    checkpoint: {
        lastCheckpointAt: string;
        lastCheckpointHash: string;
        lastCheckpointVersion: number;
    };
    guildId: string;
    ok: boolean;
    pendingOps: number;
}

Properties

checkpoint: {
    lastCheckpointAt: string;
    lastCheckpointHash: string;
    lastCheckpointVersion: number;
}

Latest sync checkpoint metadata.

Type declaration

  • lastCheckpointAt: string

    ISO timestamp of the last checkpoint.

  • lastCheckpointHash: string

    Hash of the last committed checkpoint.

  • lastCheckpointVersion: number

    Version number of the last checkpoint.

guildId: string

Discord guild identifier the sync status applies to.

ok: boolean

Whether the request succeeded.

pendingOps: number

Number of operations pending sync.