Module Cms Api
snowdog/module-cms-api
Provides API endpoints to retrieve CMS blocks and pages. Supports filtering and retrieval by ID or identifier and store ID.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Looking for Contributors
Composer installation fails. Your contribution could help the entire Magento community!
Share This Module's Status
README
Loaded from GitHubSnowdog CMS API
The module provides endpoints to get CMS blocks and pages filtered.
1. Installation:
-
composer require snowdog/module-cms-api -
bin/magento module:enable Snowdog_CmsApi -
bin/magento setup:upgrade
2. Available endpoints:
-
/rest/V1/snowdog/cmsPage/:pageId: retrieves page info by its id (integer value) -
/rest/V1/snowdog/cmsPage/search: retrieves the list of pages (accepts search criteria filters) -
/rest/V1/snowdog/cmsPageIdentifier/:identifier/storeId/:storeId: retrieves page info by its identifier (string value) and store id (integer value) -
/rest/V1/snowdog/cmsBlock/:blockId: retrieves block info by its id (integer value) -
/rest/V1/snowdog/cmsBlockIdentifier/:identifier/storeId/:storeId: retrieves block info by its identifier (string value) and store id (integer value) -
/rest/V1/snowdog/cmsBlock/search: retrieves the list of blocks (accepts search criteria filters)
License
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.