Skip to content

Variable: RedactionResponseSchema

ts
const RedactionResponseSchema: ZodObject<{
  body: ZodOptional<ZodNullable<ZodObject<{
     redactions: ZodOptional<ZodNullable<ZodArray<ZodObject<{
        from: ...;
        pointer: ...;
        reason: ...;
        redactionId: ...;
        to: ...;
     }, $loose>>>>;
  }, $loose>>>;
  title: ZodOptional<ZodNullable<ZodObject<{
     redactions: ZodOptional<ZodNullable<ZodArray<ZodObject<{
        from: ...;
        pointer: ...;
        reason: ...;
        redactionId: ...;
        to: ...;
     }, $loose>>>>;
  }, $loose>>>;
}, $loose>;

Defined in: src/v2/models/redactionResponse.ts:9

Response containing details of all redactions that were applied to the content.* Each redaction includes a unique ID for restoration, except that code block redactions cannot be restored.*