Commit Graph

133 Commits

Author SHA1 Message Date
Mike Jolley 558a330291 Update version/path getters 2019-06-21 20:00:03 +01:00
Mike Jolley d31f6f70a2 Package init method 2019-06-21 17:28:46 +01:00
Mike Jolley ab37649474 get_endpoint_data helper 2019-06-21 13:59:25 +01:00
Mike Jolley 5b105d0c7f Init the API and add to status report 2019-06-21 13:40:53 +01:00
Mike Jolley 145cf3b770 Remove rest includes and controllers init 2019-06-19 11:56:51 +01:00
Mike Jolley ce3a6cbbf8 Remove old include 2019-06-19 11:54:55 +01:00
Mike Jolley 9a07e92eba Remove parent construct call since init() is used. 2019-06-19 11:31:04 +01:00
Timmy Crawford 2b59c5db64 REST API: Add Blocks Products Controller 2019-03-06 17:26:17 -05:00
Timmy Crawford e17d835e66 REST API: Add wc-blocks/v1/products/categories 2019-03-06 17:26:16 -05:00
Timmy Crawford f4e17ddcee REST API: Add wc-blocks/v1/products/attributes controller. 2019-03-06 17:26:15 -05:00
Timmy Crawford f2fa01d585 PHPCS fixes. 2019-03-06 17:26:15 -05:00
Timmy Crawford 4311670956 REST API: wc-blocks/v1/products/attributes/%d/terms 2019-03-06 17:26:13 -05:00
Mike Jolley dd981be615 We need auth early 2019-01-30 18:12:33 +00:00
Mike Jolley cd4039e078 Only do includes on rest requests 2019-01-30 17:38:41 +00:00
Claudio Sanches d987fb95b9 [REST API] Register data endpoints 2018-10-18 16:04:54 -03:00
Claudio Sanches d199538514 Inserted data for /reports/reviews/count endpoint 2018-09-08 22:10:19 -03:00
Claudio Sanches d2b0ff0f32 Initial /reports/reviews/totals endpoint 2018-09-08 21:19:57 -03:00
Claudio Sanches 2fcabfe7e6 /reports/coupons/totals endpoint 2018-09-08 21:04:13 -03:00
Claudio Sanches daf6650d5d /reports/customers/count endpoint 2018-09-08 20:32:39 -03:00
Claudio Sanches ca36e368c5 Added /reports/products/totals endpoint 2018-09-08 19:02:29 -03:00
Claudio Sanches 017b44693b Updated names 2018-09-05 10:30:14 -03:00
Claudio Sanches f13deab00a /reports/orders/count 2018-09-05 10:28:22 -03:00
Claudio Sanches f0e6ec7a6c Register reports 2018-09-05 09:25:56 -03:00
Claudio Sanches 463447e9d9 Fixed path for data endpoints 2018-07-12 15:48:11 -03:00
Claudio Sanches 2c476f60ce Included REST API feature plugin endpoints and changes 2018-05-17 16:14:38 +01:00
Claudio Sanches b458b4339d Don't include reports endpoint while is empty 2018-05-17 12:16:03 +01:00
Claudio Sanches 2c2861bdd0 Fixed REST API v2 file paths 2018-05-17 12:08:43 +01:00
Claudio Sanches 04c19bb035 Include new REST API files and classes 2018-05-17 11:48:48 +01:00
Claudio Sanches b6bcb44f3f Fixed includes/class-wc-api.php PHPCS violations 2018-03-15 17:35:40 -03:00
Claudio Sanches 9c39dd34cc Merge branch 'feature/network-order-widget' of https://github.com/cmmarslender/woocommerce into cmmarslender-feature/network-order-widget 2018-02-02 14:46:51 -02:00
Claudio Sanches 4d9203b841 Soft deprecated webhook deliveries REST API endpoints 2017-11-30 16:20:20 -02:00
Shiva Poudel 4eaeff1729 Tweak - Fix IPN validation for PayPal as its notify URL has different case 2017-11-20 07:52:15 +05:45
Chris Marslender 28500258bc
Move the orders/network endpoint to its own class, and extend the schema with the new fields 2017-11-14 19:42:31 -07:00
Mike Jolley 9f059e17a9 Add helper function instead of calling method, and restore old method for bw compat 2017-11-08 15:07:00 +00:00
Gerhard Potgieter 7b9fb6c0cb Change nocache_headers hook firing (#17540)
* wp hook is too late to fire the nocache_headers filter, some caching plugins read it before that it seems.

* Create do_not_cache_page helper function and call that instead of nocache_headers

* Must add checks to prevent caching on certain pages as well

* Nothing to return
2017-11-08 14:27:30 +00:00
Claudio Sanches cb5122cc07 Removed legacy WordPress REST API files 2017-10-20 15:52:57 -02:00
Claudio Sanches 44319e20f7 [REST API] Fixed file name convention 2017-03-23 17:48:37 -03:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Claudio Sanches 58d90a2ee8 Added legacy classes 2017-02-17 00:27:40 -02:00
Claudio Sanches d4ce22cb76 Created WC_REST_CRUD_Controller 2017-02-16 20:27:07 -02:00
Mike Jolley dd3d46ccaf Merge branch 'master' into includes
# Conflicts:
#	includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:28:46 +00:00
Mike Jolley bbf8e750ce Tidy up includes 2017-02-16 11:46:01 +00:00
Claudio Sanches d2818be2ba Order refunds v1 and v2 2017-02-16 01:27:44 -02:00
Claudio Sanches 5d87a28407 Restored shipping zones base controller 2017-02-09 18:46:57 -02:00
Claudio Sanches 88d2875514 Restored REST API v1 2017-02-09 18:40:35 -02:00
Claudio Sanches 4352484ed7 REST API v2 2017-02-09 15:06:13 -02:00
Vishal Kakadiya 06f206c49b Changed file name from 'class-' to 'abstract-' (#12159)
* Changed file name from 'class' to 'abstract'

* Changed file name from 'class' to 'abstract'

* Changed file name from 'class-' to 'abstract-'
2016-10-24 21:49:22 -02:00
Justin Shreve c1d7111240 Implement separate variation endpoints for managing a product's variations. Also adds tests. 2016-09-29 14:44:14 -07:00
Justin Shreve 49676d1781 Hook up email settings to the API
Add support for option_key when registering settings, so we can also manage settings that are stored in the array of a single option.
2016-09-08 15:20:15 -07:00
Justin Shreve fd952e8efa Payment Gateways API 2016-09-05 14:49:29 -07:00