Justin Shreve
ade8db4f21
Load v2 files when v2 of the API is requested. Add rewrite support for v3 and load the 'default' API files for those requests.
2015-06-19 13:42:10 +00:00
Mike Jolley
716302d76e
Revised API endpoint
...
- Trigger an generic action on all API requests
- Set status header based on whether or not the API endpoint is
actually valid/being listened for
- No cache headers
- No longer try to init unknown class
- Init gateways before the request so their listeners are registered
cc @claudiosmweb
2015-06-05 14:36:50 +01:00
Claudio Sanches
dd8b2f6007
[API] Deprecated the products/sku/<sku> endpoint, closes #7592
2015-04-27 17:49:35 -03:00
Claudio Sanches
c37c1bd9fa
[API] Updated the version to 2.1.0
2015-04-27 16:50:07 -03:00
Mike Jolley
17ca08c020
add endpoints on install
2015-03-20 14:20:12 +00:00
Mike Jolley
caff5c3a66
Remove dead var api_class
2015-02-03 14:44:57 +00:00
Mike Jolley
725d5e28d8
Additional tweaks to @b2c573ed8a04a8d425a73e018a450179514cbdc7
...
- Load API with other includes
- Register activation hook early
- Include autoloader early
cc @claudiosmweb
2015-01-28 17:50:58 +00:00
shivapoudel
96df6bd961
Absolute path fix for WC_API class
2014-09-21 00:27:10 +05:45
Mike Jolley
c4ef86d44e
scrutinizer patches
2014-09-08 00:37:55 +01:00
Max Rice
9536d98ade
Add webhooks REST API endpoint
...
Part of #5564
2014-07-30 16:22:58 -04:00
Mike Jolley
cdc0efed75
Merge pull request #5843 from maxrice/feature-orders-endpoint-issue-4160
...
Create/Edit/Delete orders via the REST API
2014-07-28 09:18:49 +01:00
Max Rice
c9342d6344
Add WC_API_Exception class
...
Part of #4160
2014-07-27 23:20:48 -04:00
Max Rice
a4cb198cb9
implement separate handlers for v1/v2 REST API requests
2014-07-12 17:51:08 -04:00
Max Rice
a4b3860376
Add action for plugins to load other API resources
...
Part of #4055
2013-11-23 13:27:47 -05:00
Max Rice
23e6b22cfd
Rename API base resource class
2013-11-09 16:20:23 -05:00
Max Rice
6c3eb169db
Define and use WC_API::VERSION constant for endpoint versioning
2013-11-06 01:56:38 -05:00
Max Rice
0a6b268024
Update core WC_API class to use new WC_API_Server class
2013-11-06 01:56:11 -05:00
Max Rice
1d113b3e39
Add REST API endpoints/methods to WC API class
2013-11-03 19:29:45 -05:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00