Blog Pro API Reference

Blog Pro API

Info
We have created a public API collection for Blog Pro module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public collections can be found in the following FAQ post.
Notes
Kindly note that the API functionality for Blog Pro is available as a part of an active product subscription or support subscription.

  1. GET /V1/amasty_blog/tag/:tagId - Get one tag
  2. GET /V1/amasty_blog/tag/all - Get list with conditions (Search)
  3. POST /V1/amasty_blog/tag - Create tag
  4. PUT /V1/amasty_blog/tag/:tagId - Update tag
  5. DELETE /V1/amasty_blog/tag/:tagId - Delete tag

  1. GET /V1/amasty_blog/comment/:commentId  - Get one comment
  2. GET /V1/amasty_blog/admin/comment/:commentId  - Get one comment (for website administrator)
  3. GET /V1/amasty_blog/comment/all  - Get list with conditions (Search)
  4. GET /V1/amasty_blog/admin/comment/all  - Get list with conditions (Search) (for website administrator)
  5. POST /V1/amasty_blog/comment - Create comment
  6. POST /V1/amasty_blog/mine/comment/ - Create comment
  7. POST /V1/amasty_blog/guest/comment/ - Create comment
  8. PUT /V1/amasty_blog/comment/:commentId  - Update comment
  9. DELETE /V1/amasty_blog/comment/:commentId - Delete comment

  1. GET /V1/amasty_blog/category/:categoryId- Get one category
  2. GET /V1/amasty_blog/admin/category/:categoryId- Get one category (for website administrator)
  3. GET /V1/amasty_blog/admin/category/all - Get list with conditions (Search) (for website administrator)
  4. GET /V1/amasty_blog/category/all - Get list with conditions (Search)
  5. POST /V1/amasty_blog/category/ - Create category
  6. PUT /V1/amasty_blog/category/:categoryId - Update category
  7. DELETE /V1/amasty_blog/category/:categoryId - Delete category
 
  1. GET /V1/amasty_blog/post/:postid - Get one post
  2. GET /V1/amasty_blog/post/all - Get list with conditions (Search)
  3. GET /V1/amasty_blog/admin/post/all - Get list with conditions (Search) (for website administrator)
  4. GET /V1/amasty_blog/category/all - Get list with conditions (Search)
  5. POST /V1/amasty_blog/post/ - Create post
  6. PUT /V1/amasty_blog/post/:postid - Update post
  7. DELETE /V1/amasty_blog/post/:postid - Delete post

      • Related Articles

      • What Amasty extensions support API?

        Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
      • Can I test how your modules work with API?

        Our team have created a public Postman workspace where we provide access to API collections from our modules. You can copy these API collections to test them in your own Magento installation together with our modules, and some collections can be ...
      • Blog Pro | GraphQL methods

        Queries amBlogSetting description: get blog pro module settings amBlogPost (id: Int, urlKey: String) description: get post information about a post by ID amBlogPosts (type: AmBlogPageType, page: Int, entityId: Int) description: get an array of posts ...
      • Does the Blog Pro module support the Page Builder functionality?

        The Blog Pro module does not provide the Page Builder functionality out-of-the-box. However, there is a special submodule included in the Blog Pro package that makes the extension compatible with the Page Builder functionality and lets you use it ...
      • Is it possible to include Blog posts in Google XML sitemap?

        Using the Blog Pro extension, it is possible to include pages of the module entities to the default XML Sitemap. To do so, it is necessary to install the amasty/blog-sitemap add-on provided on the subscription basis. To install the module, the ...