Skip to content

Variable: GetPageByIdSchema

ts
const GetPageByIdSchema: ZodObject<{
  bodyFormat: ZodOptional<ZodEnum<{
     anonymous_export_view: "anonymous_export_view";
     atlas_doc_format: "atlas_doc_format";
     editor: "editor";
     export_view: "export_view";
     storage: "storage";
     styled_view: "styled_view";
     view: "view";
  }>>;
  getDraft: ZodOptional<ZodBoolean>;
  id: ZodNumber;
  includeCollaborators: ZodOptional<ZodBoolean>;
  includeDirectChildren: ZodOptional<ZodBoolean>;
  includeFavoritedByCurrentUserStatus: ZodOptional<ZodBoolean>;
  includeLabels: ZodOptional<ZodBoolean>;
  includeLikes: ZodOptional<ZodBoolean>;
  includeOperations: ZodOptional<ZodBoolean>;
  includeProperties: ZodOptional<ZodBoolean>;
  includeVersion: ZodOptional<ZodBoolean>;
  includeVersions: ZodOptional<ZodBoolean>;
  includeWebresources: ZodOptional<ZodBoolean>;
  status: ZodOptional<ZodArray<ZodEnum<{
     archived: "archived";
     current: "current";
     deleted: "deleted";
     draft: "draft";
     historical: "historical";
     trashed: "trashed";
  }>>>;
  version: ZodOptional<ZodNumber>;
}, $strip>;

Defined in: src/v2/parameters/getPageById.ts:4