> For the complete documentation index, see [llms.txt](https://landofcoder.gitbook.io/magento-2-gallery-pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://landofcoder.gitbook.io/magento-2-gallery-pro/rest-api.md).

# Rest API

Support for frontend REST API and admin REST API

Frontend REST API

1. G**et album by ID**

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

**param**: albumId - string the album id&#x20;

**response**: album data

&#x32;**. Get album by url key**

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

**param**: identifier - string the album url key&#x20;

**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

&#x35;**. Get album image by key**

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

**param**: key - String the image key

**response**: album image data
