You're viewing a demo portfolio

Join the waitlist
PRSM

replace_post_block

Active

Tool of FavCRM

declared in 1.0.0

Replace a single block at the given index (0-based). Avoids fetching the full post and re-sending all blocks via update_post.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "postId",
    "index",
    "block"
  ],
  "properties": {
    "block": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "html"
              ],
              "properties": {
                "html": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "paragraph"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "level",
                "text"
              ],
              "properties": {
                "text": {
                  "type": "string",
                  "minLength": 1
                },
                "level": {
                  "anyOf": [
                    {
                      "type": "number",
                      "const": 1
                    },
                    {
                      "type": "number",
                      "const": 2
                    },
                    {
                      "type": "number",
                      "const": 3
                    },
                    {
                      "type": "number",
                      "const": 4
                    }
                  ]
                },
                "anchor": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "heading"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "url",
                "alt"
              ],
              "properties": {
                "alt": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "width": {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                "height": {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                "caption": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "image"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "ordered",
                "items"
              ],
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  },
                  "minItems": 1
                },
                "ordered": {
                  "type": "boolean"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "list"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "text"
              ],
              "properties": {
                "cite": {
                  "type": "string"
                },
                "text": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "type": {
              "type": "string",
              "const": "quote"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "lang",
                "code"
              ],
              "properties": {
                "code": {
                  "type": "string",
                  "minLength": 1
                },
                "lang": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "code"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "properties": {},
              "additionalProperties": false
            },
            "type": {
              "type": "string",
              "const": "divider"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "size"
              ],
              "properties": {
                "size": {
                  "enum": [
                    "sm",
                    "md",
                    "lg"
                  ],
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "spacer"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "provider",
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "provider": {
                  "enum": [
                    "youtube",
                    "vimeo",
                    "iframe"
                  ],
                  "type": "string"
                },
                "aspectRatio": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "embed"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "html"
              ],
              "properties": {
                "html": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "type": {
              "type": "string",
              "const": "html"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "videoId"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "title": {
                  "type": "string"
                },
                "videoId": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]{11}$"
                },
                "aspectRatio": {
                  "type": "string"
                },
                "startSeconds": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "minimum": 0
                }
              }
            },
            "type": {
              "type": "string",
              "const": "youtube"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "url",
                "mimeType",
                "sizeBytes",
                "originalName"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "icon": {
                  "enum": [
                    "pdf",
                    "doc",
                    "image",
                    "video",
                    "audio",
                    "generic"
                  ],
                  "type": "string"
                },
                "mimeType": {
                  "type": "string",
                  "minLength": 1
                },
                "sizeBytes": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "minimum": 0
                },
                "displayName": {
                  "type": "string"
                },
                "originalName": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "type": {
              "type": "string",
              "const": "file"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "items"
              ],
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "question",
                      "answer"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "minLength": 1
                      },
                      "answer": {
                        "type": "string"
                      },
                      "question": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                },
                "title": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "faq"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "tone",
                "body"
              ],
              "properties": {
                "body": {
                  "type": "string",
                  "minLength": 1
                },
                "tone": {
                  "enum": [
                    "info",
                    "success",
                    "warning",
                    "danger",
                    "note"
                  ],
                  "type": "string"
                },
                "title": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "callout"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "layout",
                "images"
              ],
              "properties": {
                "images": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "url",
                      "alt"
                    ],
                    "properties": {
                      "alt": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      },
                      "caption": {
                        "type": "string"
                      }
                    }
                  }
                },
                "layout": {
                  "enum": [
                    "grid",
                    "masonry",
                    "carousel"
                  ],
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "gallery"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "label",
                "href"
              ],
              "properties": {
                "href": {
                  "type": "string",
                  "minLength": 1
                },
                "label": {
                  "type": "string",
                  "minLength": 1
                },
                "style": {
                  "enum": [
                    "primary",
                    "secondary",
                    "ghost"
                  ],
                  "type": "string"
                },
                "openInNewTab": {
                  "type": "boolean"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "cta"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "items"
              ],
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "title",
                      "body"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "minLength": 1
                      },
                      "body": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                },
                "semantic": {
                  "enum": [
                    "faq",
                    "plain"
                  ],
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "accordion"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "type": "object",
          "required": [
            "id",
            "version",
            "type",
            "data"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1
            },
            "data": {
              "type": "object",
              "required": [
                "slug"
              ],
              "properties": {
                "slug": {
                  "type": "string",
                  "minLength": 1
                },
                "layout": {
                  "enum": [
                    "card",
                    "inline"
                  ],
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string",
              "const": "product"
            },
            "version": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        {
          "$ref": "#/definitions/__schema0"
        }
      ],
      "description": "Replacement block"
    },
    "index": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0,
      "description": "0-based index of the block to replace"
    },
    "postId": {
      "type": "string",
      "description": "The post ID"
    }
  },
  "definitions": {
    "__schema0": {
      "type": "object",
      "required": [
        "id",
        "version",
        "type",
        "data"
      ],
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "data": {
          "type": "object",
          "required": [
            "columns"
          ],
          "properties": {
            "align": {
              "enum": [
                "start",
                "center",
                "stretch"
              ],
              "type": "string"
            },
            "columns": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "blocks"
                ],
                "properties": {
                  "span": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "blocks": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "html"
                              ],
                              "properties": {
                                "html": {
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "paragraph"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "level",
                                "text"
                              ],
                              "properties": {
                                "text": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "level": {
                                  "anyOf": [
                                    {
                                      "type": "number",
                                      "const": 1
                                    },
                                    {
                                      "type": "number",
                                      "const": 2
                                    },
                                    {
                                      "type": "number",
                                      "const": 3
                                    },
                                    {
                                      "type": "number",
                                      "const": 4
                                    }
                                  ]
                                },
                                "anchor": {
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "heading"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "url",
                                "alt"
                              ],
                              "properties": {
                                "alt": {
                                  "type": "string"
                                },
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "width": {
                                  "type": "number",
                                  "exclusiveMinimum": 0
                                },
                                "height": {
                                  "type": "number",
                                  "exclusiveMinimum": 0
                                },
                                "caption": {
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "image"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "ordered",
                                "items"
                              ],
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "minLength": 1
                                  },
                                  "minItems": 1
                                },
                                "ordered": {
                                  "type": "boolean"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "list"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "text"
                              ],
                              "properties": {
                                "cite": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "quote"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "lang",
                                "code"
                              ],
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "lang": {
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "code"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "properties": {},
                              "additionalProperties": false
                            },
                            "type": {
                              "type": "string",
                              "const": "divider"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "size"
                              ],
                              "properties": {
                                "size": {
                                  "enum": [
                                    "sm",
                                    "md",
                                    "lg"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "spacer"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "provider",
                                "url"
                              ],
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "provider": {
                                  "enum": [
                                    "youtube",
                                    "vimeo",
                                    "iframe"
                                  ],
                                  "type": "string"
                                },
                                "aspectRatio": {
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "embed"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "html"
                              ],
                              "properties": {
                                "html": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "html"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "videoId"
                              ],
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "videoId": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9_-]{11}$"
                                },
                                "aspectRatio": {
                                  "type": "string"
                                },
                                "startSeconds": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "youtube"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "url",
                                "mimeType",
                                "sizeBytes",
                                "originalName"
                              ],
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "icon": {
                                  "enum": [
                                    "pdf",
                                    "doc",
                                    "image",
                                    "video",
                                    "audio",
                                    "generic"
                                  ],
                                  "type": "string"
                                },
                                "mimeType": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "sizeBytes": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "minimum": 0
                                },
                                "displayName": {
                                  "type": "string"
                                },
                                "originalName": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "file"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "items"
                              ],
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "question",
                                      "answer"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "minLength": 1
                                      },
                                      "answer": {
                                        "type": "string"
                                      },
                                      "question": {
                                        "type": "string",
                                        "minLength": 1
                                      }
                                    }
                                  }
                                },
                                "title": {
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "faq"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "tone",
                                "body"
                              ],
                              "properties": {
                                "body": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "tone": {
                                  "enum": [
                                    "info",
                                    "success",
                                    "warning",
                                    "danger",
                                    "note"
                                  ],
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "callout"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "layout",
                                "images"
                              ],
                              "properties": {
                                "images": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "url",
                                      "alt"
                                    ],
                                    "properties": {
                                      "alt": {
                                        "type": "string"
                                      },
                                      "url": {
                                        "type": "string",
                                        "format": "uri"
                                      },
                                      "caption": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                },
                                "layout": {
                                  "enum": [
                                    "grid",
                                    "masonry",
                                    "carousel"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "gallery"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "label",
                                "href"
                              ],
                              "properties": {
                                "href": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "label": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "style": {
                                  "enum": [
                                    "primary",
                                    "secondary",
                                    "ghost"
                                  ],
                                  "type": "string"
                                },
                                "openInNewTab": {
                                  "type": "boolean"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "cta"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "items"
                              ],
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "required": [
                                      "id",
                                      "title",
                                      "body"
                                    ],
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "minLength": 1
                                      },
                                      "body": {
                                        "type": "string"
                                      },
                                      "title": {
                                        "type": "string",
                                        "minLength": 1
                                      }
                                    }
                                  }
                                },
                                "semantic": {
                                  "enum": [
                                    "faq",
                                    "plain"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "accordion"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "type": "object",
                          "required": [
                            "id",
                            "version",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "data": {
                              "type": "object",
                              "required": [
                                "slug"
                              ],
                              "properties": {
                                "slug": {
                                  "type": "string",
                                  "minLength": 1
                                },
                                "layout": {
                                  "enum": [
                                    "card",
                                    "inline"
                                  ],
                                  "type": "string"
                                }
                              }
                            },
                            "type": {
                              "type": "string",
                              "const": "product"
                            },
                            "version": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "minimum": 0
                            }
                          }
                        },
                        {
                          "$ref": "#/definitions/__schema0"
                        }
                      ]
                    }
                  }
                }
              },
              "maxItems": 4,
              "minItems": 2
            },
            "stackBelow": {
              "type": "string",
              "pattern": "^(0|[0-9]+(\\.[0-9]+)?(px|rem|em|vw|vh|%))$"
            }
          }
        },
        "type": {
          "type": "string",
          "const": "columns"
        },
        "version": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        }
      }
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

FavCRM

https://github.com/favcrm/mcp

1/7 registries
View full server →
replace_post_block — FavCRM — PRSM MCP