🌻
Magento 2 Gallery Pro
  • Overview
  • Installation
    • Setup Module
  • Config and Usage
    • Module Configuration
    • Manage Gallery Categories
    • Manage Gallery Albums
    • Manage Tags
    • Import - Export Albums
  • How to show gallery on CMS page
  • How to show form on frontend
  • Rest API
  • Other Module Guides
    • Magento 2 Step Recommendation
Powered by GitBook
On this page

Rest API

Support for frontend REST API and admin REST API

Frontend REST API

  1. Get album by ID

endpoint: /V1/lof-gallery/album/:albumId

param: albumId - string the album id

response: album data

2. Get album by url key

endpoint: /V1/lof-gallery/albumByIdentifier/:identifier

param: identifier - string the album url key

response: album data

3. Get list albums

endpoint: /V1/lof-gallery/albums

param: search creteria array

response: list albums data

4. Get album images by id

endpoint: /V1/lof-gallery/albumImages/:albumId

param: albumId - String the album id

response: array of album image data

5. Get album image by key

endpoint: /V1/lof-gallery/albumImage/:key

param: key - String the image key

response: album image data

PreviousHow to show form on frontendNextMagento 2 Step Recommendation

Last updated 3 years ago