Content Blocks
Search for content blocks
Changed onThis endpoint allows you to search for content blocks. You can filter by block type, lead organisation, and keyword.
get/blocks
Request
- Base URLhttps://content-block-manager.publishing.service.gov.uk/api
- URLhttps://content-block-manager.publishing.service.gov.uk/api/blocks
- Authnone declared
Query parameters
block_typestring
The type of block to filter by. This is a case-insensitive match against the block type defined in the document associated with the content block.
lead_organisation_idstring
The Content ID of the lead organisation to filter by.
keywordstring
The keyword to filter by. Searches against the title and the details hash of the content block.
Response
blocks found
Changes
- warning
deleted the
queryrequest parameterpage - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning
- info
endpoint added
- info