Aller au contenu

Table: federation_inbox

Ce contenu n’est pas encore disponible dans votre langue.

This table references:

ColumnTypeNullableNotes
iduuidnoDefault gen_random_uuid()
activity_uritextno
peer_iduuidnoReferences federation_peers(id)
actor_uritextno
activity_typetextno
object_kindtextyes
object_iduuidyes
envelope_jsonjsonbno
http_sig_keytextno
received_attimestampnoDefault now()
statustextnoDefault 'pending'::text
reject_reasontextyes
dispatch_attemptsintegernoDefault 0
last_attempt_attimestampyes
last_errortextnoDefault ''::text
processed_attimestampyes
correlation_activity_iduuidyesReferences activities(id)
created_attimestampnoDefault now()
updated_attimestampnoDefault now()
was_encryptedbooleannoDefault false
decrypted_with_key_versionintegeryes
  • CONSTRAINT federation_inbox_status_check CHECK ((status = ANY (ARRAY['pending'::text, 'processed'::text, 'rejected'::text, 'failed'::text])))
CREATE TABLE public.federation_inbox (
id uuid DEFAULT gen_random_uuid() NOT NULL,
activity_uri text NOT NULL,
peer_id uuid NOT NULL,
actor_uri text NOT NULL,
activity_type text NOT NULL,
object_kind text,
object_id uuid,
envelope_json jsonb NOT NULL,
http_sig_key text NOT NULL,
received_at timestamp with time zone DEFAULT now() NOT NULL,
status text DEFAULT 'pending'::text NOT NULL,
reject_reason text,
dispatch_attempts integer DEFAULT 0 NOT NULL,
last_attempt_at timestamp with time zone,
last_error text DEFAULT ''::text NOT NULL,
processed_at timestamp with time zone,
correlation_activity_id uuid,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL,
was_encrypted boolean DEFAULT false NOT NULL,
decrypted_with_key_version integer,
CONSTRAINT federation_inbox_status_check CHECK ((status = ANY (ARRAY['pending'::text, 'processed'::text, 'rejected'::text, 'failed'::text])))
);

Please see the schema overview for context. This document was last regenerated on 2026-07-26T08:25:29.520Z.