{"repo":"Automattic/vip-block-data-api","free":true,"listed":false,"github":"https://github.com/Automattic/vip-block-data-api","clone":"git clone https://github.com/Automattic/vip-block-data-api.git","description":"WordPress plugin that provides an API to retrieve Gutenberg content as structured JSON.","language":"PHP","stars":125,"topics":["wordpress","wordpress-plugin","wpvip-plugin","vip"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"VIP Block Data API The Block Data API is an API for retrieving block editor posts structured as JSON data, with integrations for both the official WordPress REST API and WPGraphQL. While primarily designed for use in decoupled WordPress, the Block Data API can be used anywhere you want to represent block markup as structured data. This plugin is currently developed for use on WordPress sites hosted on the VIP Platform. Table of contents - Installation - Install on WordPress VIP - Install via ZIP file - Plugin activation - APIs - REST - Usage - Versioning - Examples - Example: Basic text blocks: core/heading and core/paragraph - Example: Text attributes in core/pullquote - Example: Nested blocks in core/media-text - GraphQL - Setup - Usage - Block Attributes - Complex attributes - Example: Simple nested blocks: core/list and core/quote - API Consumption - Preact - Block hierarchy reconstruction - Limitations - Client-side blocks - Client-side example - Registering client-side blocks - Rich text support - Deprecated blocks - Rest API Query Parameters - Example Post - include - exclude - Filters and actions - GraphQL - REST - vip block data api rest validate post id - vip block data api rest permission callback - vip block data api allow block - vip block data api sourced block result - vip block data api before parse post content - vip block data api after parse blocks - Analytics - Caching on WPVIP - Errors and Warnings - Error: vip-block-data-api-no-blocks - Error: vip-block-","default_branch":null,"files":null,"tree":[],"storefront":"/r/Automattic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Automattic/vip-block-data-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}