magento2: Rest API response "page_size" missing in M2.4.4
Preconditions (*)
- Install a 2.4.3-p1
Steps to reproduce (*)
- On 2.4.3-p1 create a GET request to
rest/all/V1/orders/?searchCriteria[filterGroups][0][filters][0][field]=status&searchCriteria[filterGroups][0][filters][0][value]=processing&searchCriteria[filterGroups][0][filters][0][conditionType]=eq&searchCriteria[currentPage]=1
- The response should return something like:
{
"items": [.....],
"search_criteria": {
"filter_groups": [
{
"filters": [
{
"field": "status",
"value": "processing",
"condition_type": "eq"
}
]
}
],
"page_size": 20,
"current_page": 1
},
"total_count": 20
}
- Try the same request on 2.4.4
Expected result (*)
- The metadata in the response should be the exact same on Magento 2.4.3-p1 and 2.4.4
Actual result (*)
- The page_size is missing
{
"items": [.....],
"search_criteria": {
"filter_groups": [
{
"filters": [
{
"field": "status",
"value": "processing",
"condition_type": "eq"
}
]
}
],
"current_page": 1
},
"total_count": 20
}
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 6
- Comments: 33 (2 by maintainers)
Commits related to this issue
- magento/magento2#35310: Rest API response "page_size" missing in M2.4.4 - fixed issue with missing "page_size" in response — committed to quterorta/magento2 by quterorta a year ago
- magento/magento2#35310: Rest API response "page_size" missing in M2.4.4 - fixed issue with missing "page_size" in response — committed to quterorta/magento2 by quterorta a year ago
- magento/magento2#35310: Rest API response "page_size" missing in M2.4.4 - fixed issue with missing "page_size" in response — committed to quterorta/magento2 by quterorta a year ago
@magento I am working on this
Hi @anvanza, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.
Hi @anvanza, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.