From 20ffc3f1b1655ced9f21de275749a6762c889fe5 Mon Sep 17 00:00:00 2001 From: Cyrill Schumacher Date: Wed, 7 Jan 2015 21:13:07 +1100 Subject: [PATCH] GET: Unifying REST API searches with the interface method getList() and http method PUT. Deleted POST routes and merged them to a GET route to be more consistent. Fixes #889 --- app/code/Magento/Catalog/etc/webapi.xml | 10 +++++----- app/code/Magento/Customer/etc/webapi.xml | 12 ------------ app/code/Magento/Eav/etc/webapi.xml | 2 +- app/code/Magento/Sales/etc/webapi.xml | 10 +++++----- app/code/Magento/Tax/etc/webapi.xml | 6 +++--- 5 files changed, 14 insertions(+), 26 deletions(-) diff --git a/app/code/Magento/Catalog/etc/webapi.xml b/app/code/Magento/Catalog/etc/webapi.xml index 0e1db6cae06f8..a730cfa3d0da1 100644 --- a/app/code/Magento/Catalog/etc/webapi.xml +++ b/app/code/Magento/Catalog/etc/webapi.xml @@ -26,7 +26,7 @@ - + @@ -51,7 +51,7 @@ - + @@ -63,7 +63,7 @@ - + @@ -99,7 +99,7 @@ - + @@ -147,7 +147,7 @@ - + diff --git a/app/code/Magento/Customer/etc/webapi.xml b/app/code/Magento/Customer/etc/webapi.xml index df2d11cb16d9f..c9555a3f4e56d 100644 --- a/app/code/Magento/Customer/etc/webapi.xml +++ b/app/code/Magento/Customer/etc/webapi.xml @@ -31,12 +31,6 @@ - - - - - - @@ -160,12 +154,6 @@ %customer_id% - - - - - - diff --git a/app/code/Magento/Eav/etc/webapi.xml b/app/code/Magento/Eav/etc/webapi.xml index ed978811b7d4a..c914510d920f6 100644 --- a/app/code/Magento/Eav/etc/webapi.xml +++ b/app/code/Magento/Eav/etc/webapi.xml @@ -6,7 +6,7 @@ --> - + diff --git a/app/code/Magento/Sales/etc/webapi.xml b/app/code/Magento/Sales/etc/webapi.xml index cd0a72aa3b863..d1951c9142b58 100644 --- a/app/code/Magento/Sales/etc/webapi.xml +++ b/app/code/Magento/Sales/etc/webapi.xml @@ -12,7 +12,7 @@ - + @@ -78,7 +78,7 @@ - + @@ -126,7 +126,7 @@ - + @@ -168,7 +168,7 @@ - + @@ -228,7 +228,7 @@ - + diff --git a/app/code/Magento/Tax/etc/webapi.xml b/app/code/Magento/Tax/etc/webapi.xml index 50f0c4738b75d..68e1e2a394b5f 100644 --- a/app/code/Magento/Tax/etc/webapi.xml +++ b/app/code/Magento/Tax/etc/webapi.xml @@ -30,7 +30,7 @@ - + @@ -60,7 +60,7 @@ - + @@ -90,7 +90,7 @@ - +