Rendered-blocks Edit

Schema Schema

The schema defines all the fields that exist for a rendered-block object.

rendered

string
The rendered block.

Context: edit

Example Request Example Request

$ curl -X OPTIONS -i https://example.com/wp-json/wp/v2/block-renderer/<name>

Top ↑

Retrieve a Rendered-block Retrieve a Rendered-block

Top ↑

Arguments Arguments

name Unique registered name for the block.
context Scope under which the request is made; determines fields present in response.

Default: view

One of: edit

attributes Attributes for core/tag-cloud block
post_id ID of the post context.

Top ↑

Definition Definition

GET /wp/v2/block-renderer/<name>

Top ↑

Example Request Example Request

$ curl https://example.com/wp-json/wp/v2/block-renderer/<name>