Commit Graph

12 Commits

Author SHA1 Message Date
Denis Dvali b6be0b31f8 Add arguments declaration for install REST API endpoint. 2020-02-03 14:23:03 +03:00
Denis Dvali ed918f5105 Adding fallback in case "Authorization" or "X-Woo-Signature" headers are not present.
Check if access token and request signature set in query arguments if the headers are missing.
2020-01-30 12:53:57 +03:00
Denis Dvali 4bc4faf7af Adding new explicit error codes for WC.COM installer API authentication errors. 2019-11-25 19:32:10 +03:00
Denis Dvali 234bb9139f Move "no permissions" error data (error code, message, http code) to
a constant within a dedicated error messages class.
2019-11-25 13:46:07 +03:00
Rommel Castro 4fabaed498
Implements WC_WCCOM_Site_Installer_Requirements_Check::met_requirements() validation on GET /install 2019-10-01 13:45:30 -06:00
Rommel Castro 803f3e6cc6
Implements WC_WCCOM_Site_Installer_Requirements_Check::met_requirements() validation on POST /install 2019-09-30 15:20:11 -06:00
Claudio Sanches 1f77efae4b Don't use WP_REST_Server::get_raw_data() inside REST API endpoints 2019-07-15 13:30:17 -03:00
Claudio Sanches eac2d39edf Better naming for REST API endpoints 2019-07-15 13:19:03 -03:00
Claudio Sanches 396bbe4cf5 Fixed doc blocks and coding standards 2019-07-15 13:13:16 -03:00
Akeda Bagus f51265e58d
Add @since tag. 2019-07-15 15:42:36 +07:00
Akeda Bagus fc7cacb711
Fix coding standard issues. 2019-07-11 19:58:16 +07:00
Akeda Bagus 40201eb9c3
Register wccom-site rest in main class.
With API moved to its own package (see #23957), controllers for wccom-
site namespace are now registered in wccom-site main class.
2019-07-11 18:19:08 +07:00