You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add category listing endpoints for the REST API (#120)
* add: category listing endpoints for the REST API
* update: back out permissions check changes
Co-authored-by: emdashcodes <emdashcodes@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>
@@ -247,5 +340,6 @@ The API returns standard WordPress REST API error responses with these common co
247
340
-`ability_invalid_output` - output validation failed according to the ability's schema.
248
341
-`ability_invalid_execute_callback` - the ability's execute callback is not callable.
249
342
-`rest_ability_not_found` - the requested ability is not registered.
343
+
-`rest_category_not_found` - the requested category is not registered.
250
344
-`rest_ability_invalid_method` - the requested HTTP method is not allowed for executing the selected ability (e.g., using GET on a read-only ability, or POST on a regular ability).
251
345
-`rest_ability_cannot_execute` - the ability cannot be executed due to insufficient permissions.
0 commit comments