magento / magento/community-features
REST API for layered navigation
Open
Nobody has claimed this yet.
devguild
moved from magento2
Priority: P3
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Preconditions
- Magento 2.2.3
- PHP 7.1
- MySQL 5.6
- OS - Ubuntu 16.04
Steps to reproduce
- Use GET /V1/products-render-info REST API call to get the list of products based on the search criteria, currency, store and the pagination settings (/rest/V1/products-render-info?searchCriteria=[]&storeId=1¤cyCode=1)
- It returns the list of products but not the filters section
Expected result
- Expecting the REST API to get the filters details
Actual result
- To build an Android application (for example), we are able to get the list of products but there is no provision to get the filters details
Original Report: https://github.com/magento/magento2/issues/14543 by @karthickannan
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the GET /V1/products-render-info endpoint and inspect how its product list is built from search criteria, store, currency, and pagination. Compare the response with the layered-navigation filter data needed by the Android client. Done means the endpoint returns the requested filter details alongside the product list and preserves the existing parameters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, php
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100