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

Last updated