addedInput schema / $defs
Added value: +{
+ "dueAt": {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "description": "Include results with dates equal to or before\nthe specified date",
+ "type": "string"
+ },
+ "start": {
+ "description": "Include results with dates equal to or after\nthe specified date",
+ "type": "string"
+ }
+ },
+ "required": [],
+ "type": "object"
+ },
+ "filter": {
+ "additionalProperties": false,
+ "properties": {
+ "channelIds": {
+ "description": "When set, it will filter posts by channel",
+ "items": {
+ "description": "When set, it will filter posts by channel",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "createdAt": {
+ "$ref": "#/$defs/dueAt"
+ },
+ "dueAt": {
+ "$ref": "#/$defs/dueAt"
+ },
+ "dueAtPresence": {
+ "description": "When set, it will filter posts by whether their scheduled posting date exists.\n`absent` cannot be combined with `dueAt`, because absent dates cannot also match a date range.",
+ "enum": [
+ "absent",
+ "present"
+ ],
+ "type": "string"
+ },
+ "endDate": {
+ "description": "When set, it will return posts with createdAt or dueAt date before endDate",
+ "type": "string"
+ },
+ "postTypes": {
+ "description": "When set, it will filter posts by format.\n\n`post` is a fallback bucket rather than one stored format: it matches every\npost the other formats do not claim, which is what `Post.metadata.type`\nreports for the same post. `carousel` and `thread` are rejected, because no\nstored value resolves to them.",
+ "items": {
+ "description": "When set, it will filter posts by format.\n\n`post` is a fallback bucket rather than one stored format: it matches every\npost the other formats do not claim, which is what `Post.metadata.type`\nreports for the same post. `carousel` and `thread` are rejected, because no\nstored value resolves to them.",
+ "enum": [
+ "carousel",
+ "event",
+ "ghost_post",
+ "offer",
+ "post",
+ "reel",
+ "short",
+ "story",
+ "thread",
+ "whats_new"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "startDate": {
+ "description": "When set, it will return posts with createdAt or dueAt date after startDate",
+ "type": "string"
+ },
+ "status": {
+ "description": "When set, it will filter posts by status",
+ "items": {
+ "description": "When set, it will filter posts by status",
+ "enum": [
+ "draft",
+ "error",
+ "needs_approval",
+ "scheduled",
+ "sending",
+ "sent"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tagIds": {
+ "description": "When set, it will filter posts by tag",
+ "items": {
+ "description": "When set, it will filter posts by tag",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tags": {
+ "additionalProperties": false,
+ "properties": {
+ "in": {
+ "description": "Include results that have any of the specified tags (union/OR).",
+ "items": {
+ "description": "Include results that have any of the specified tags (union/OR).",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "isEmpty": {
+ "description": "When true, include results that have no tags assigned.\nCan be combined with 'in' for union filtering.\nDefaults to false if not specified.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "in"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [],
+ "type": "object"
+ },
+ "sort": {
+ "description": "The sort to apply to the posts results",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "description": "The direction to sort by.",
+ "enum": [
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+ },
+ "field": {
+ "description": "The field to sort by.",
+ "enum": [
+ "dueAt",
+ "createdAt"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "direction",
+ "field"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+}
addedInput schema / properties / filter / $ref
Added value: +"#/$defs/filter"
removedInput schema / properties / filter / additionalProperties
Removed value: -false
removedInput schema / properties / filter / properties
Removed value: -{
- "channelIds": {
- "description": "When set, it will filter posts by channel",
- "items": {
- "description": "When set, it will filter posts by channel",
- "type": "string"
- },
- "type": "array"
- },
- "createdAt": {
- "additionalProperties": false,
- "properties": {
- "end": {
- "description": "Include results with dates equal to or before\nthe specified date",
- "type": "string"
- },
- "start": {
- "description": "Include results with dates equal to or after\nthe specified date",
- "type": "string"
- }
- },
- "required": [],
- "type": "object"
- },
- "dueAt": {
- "additionalProperties": false,
- "properties": {
- "end": {
- "description": "Include results with dates equal to or before\nthe specified date",
- "type": "string"
- },
- "start": {
- "description": "Include results with dates equal to or after\nthe specified date",
- "type": "string"
- }
- },
- "required": [],
- "type": "object"
- },
- "dueAtPresence": {
- "description": "When set, it will filter posts by whether their scheduled posting date exists.\n`absent` cannot be combined with `dueAt`, because absent dates cannot also match a date range.",
- "enum": [
- "absent",
- "present"
- ],
- "type": "string"
- },
- "endDate": {
- "description": "When set, it will return posts with createdAt or dueAt date before endDate",
- "type": "string"
- },
- "postTypes": {
- "description": "When set, it will filter posts by format.\n\n`post` is a fallback bucket rather than one stored format: it matches every\npost the other formats do not claim, which is what `Post.metadata.type`\nreports for the same post. `carousel` and `thread` are rejected, because no\nstored value resolves to them.",
- "items": {
- "description": "When set, it will filter posts by format.\n\n`post` is a fallback bucket rather than one stored format: it matches every\npost the other formats do not claim, which is what `Post.metadata.type`\nreports for the same post. `carousel` and `thread` are rejected, because no\nstored value resolves to them.",
- "enum": [
- "carousel",
- "event",
- "ghost_post",
- "offer",
- "post",
- "reel",
- "short",
- "story",
- "thread",
- "whats_new"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "startDate": {
- "description": "When set, it will return posts with createdAt or dueAt date after startDate",
- "type": "string"
- },
- "status": {
- "description": "When set, it will filter posts by status",
- "items": {
- "description": "When set, it will filter posts by status",
- "enum": [
- "draft",
- "error",
- "needs_approval",
- "scheduled",
- "sending",
- "sent"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "tagIds": {
- "description": "When set, it will filter posts by tag",
- "items": {
- "description": "When set, it will filter posts by tag",
- "type": "string"
- },
- "type": "array"
- },
- "tags": {
- "additionalProperties": false,
- "properties": {
- "in": {
- "description": "Include results that have any of the specified tags (union/OR).",
- "items": {
- "description": "Include results that have any of the specified tags (union/OR).",
- "type": "string"
- },
- "type": "array"
- },
- "isEmpty": {
- "description": "When true, include results that have no tags assigned.\nCan be combined with 'in' for union filtering.\nDefaults to false if not specified.",
- "type": "boolean"
- }
- },
- "required": [
- "in"
- ],
- "type": "object"
- }
-}
removedInput schema / properties / filter / required
Removed value: -[]
removedInput schema / properties / filter / type
Removed value: -"object"
addedInput schema / properties / payload / properties / filter / $ref
Added value: +"#/$defs/filter"
removedInput schema / properties / payload / properties / filter / additionalProperties
Removed value: -false
removedInput schema / properties / payload / properties / filter / properties
Removed value: -{
- "channelIds": {
- "description": "When set, it will filter posts by channel",
- "items": {
- "description": "When set, it will filter posts by channel",
- "type": "string"
- },
- "type": "array"
- },
- "createdAt": {
- "additionalProperties": false,
- "properties": {
- "end": {
- "description": "Include results with dates equal to or before\nthe specified date",
- "type": "string"
- },
- "start": {
- "description": "Include results with dates equal to or after\nthe specified date",
- "type": "string"
- }
- },
- "required": [],
- "type": "object"
- },
- "dueAt": {
- "additionalProperties": false,
- "properties": {
- "end": {
- "description": "Include results with dates equal to or before\nthe specified date",
- "type": "string"
- },
- "start": {
- "description": "Include results with dates equal to or after\nthe specified date",
- "type": "string"
- }
- },
- "required": [],
- "type": "object"
- },
- "dueAtPresence": {
- "description": "When set, it will filter posts by whether their scheduled posting date exists.\n`absent` cannot be combined with `dueAt`, because absent dates cannot also match a date range.",
- "enum": [
- "absent",
- "present"
- ],
- "type": "string"
- },
- "endDate": {
- "description": "When set, it will return posts with createdAt or dueAt date before endDate",
- "type": "string"
- },
- "postTypes": {
- "description": "When set, it will filter posts by format.\n\n`post` is a fallback bucket rather than one stored format: it matches every\npost the other formats do not claim, which is what `Post.metadata.type`\nreports for the same post. `carousel` and `thread` are rejected, because no\nstored value resolves to them.",
- "items": {
- "description": "When set, it will filter posts by format.\n\n`post` is a fallback bucket rather than one stored format: it matches every\npost the other formats do not claim, which is what `Post.metadata.type`\nreports for the same post. `carousel` and `thread` are rejected, because no\nstored value resolves to them.",
- "enum": [
- "carousel",
- "event",
- "ghost_post",
- "offer",
- "post",
- "reel",
- "short",
- "story",
- "thread",
- "whats_new"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "startDate": {
- "description": "When set, it will return posts with createdAt or dueAt date after startDate",
- "type": "string"
- },
- "status": {
- "description": "When set, it will filter posts by status",
- "items": {
- "description": "When set, it will filter posts by status",
- "enum": [
- "draft",
- "error",
- "needs_approval",
- "scheduled",
- "sending",
- "sent"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "tagIds": {
- "description": "When set, it will filter posts by tag",
- "items": {
- "description": "When set, it will filter posts by tag",
- "type": "string"
- },
- "type": "array"
- },
- "tags": {
- "additionalProperties": false,
- "properties": {
- "in": {
- "description": "Include results that have any of the specified tags (union/OR).",
- "items": {
- "description": "Include results that have any of the specified tags (union/OR).",
- "type": "string"
- },
- "type": "array"
- },
- "isEmpty": {
- "description": "When true, include results that have no tags assigned.\nCan be combined with 'in' for union filtering.\nDefaults to false if not specified.",
- "type": "boolean"
- }
- },
- "required": [
- "in"
- ],
- "type": "object"
- }
-}
removedInput schema / properties / payload / properties / filter / required
Removed value: -[]
removedInput schema / properties / payload / properties / filter / type
Removed value: -"object"
addedInput schema / properties / payload / properties / sort / $ref
Added value: +"#/$defs/sort"
removedInput schema / properties / payload / properties / sort / description
Removed value: -"The sort to apply to the posts results"
removedInput schema / properties / payload / properties / sort / items
Removed value: -{
- "additionalProperties": false,
- "properties": {
- "direction": {
- "description": "The direction to sort by.",
- "enum": [
- "asc",
- "desc"
- ],
- "type": "string"
- },
- "field": {
- "description": "The field to sort by.",
- "enum": [
- "dueAt",
- "createdAt"
- ],
- "type": "string"
- }
- },
- "required": [
- "direction",
- "field"
- ],
- "type": "object"
-}
removedInput schema / properties / payload / properties / sort / type
Removed value: -"array"
addedInput schema / properties / sort / $ref
Added value: +"#/$defs/sort"
removedInput schema / properties / sort / description
Removed value: -"The sort to apply to the posts results"
removedInput schema / properties / sort / items
Removed value: -{
- "additionalProperties": false,
- "properties": {
- "direction": {
- "description": "The direction to sort by.",
- "enum": [
- "asc",
- "desc"
- ],
- "type": "string"
- },
- "field": {
- "description": "The field to sort by.",
- "enum": [
- "dueAt",
- "createdAt"
- ],
- "type": "string"
- }
- },
- "required": [
- "direction",
- "field"
- ],
- "type": "object"
-}
removedInput schema / properties / sort / type
Removed value: -"array"