-
Notifications
You must be signed in to change notification settings - Fork 17
Docs: REST API Reference #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive REST API documentation for the WordPress Abilities API, documenting how external systems can discover and execute abilities via HTTP requests. The documentation covers the three main endpoints for interacting with abilities: listing all abilities, retrieving a specific ability, and executing an ability.
- Documents the REST API schema and ability object structure
- Provides detailed endpoint definitions with examples for GET and POST requests
- Includes authentication methods and error response documentation
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #77 +/- ##
=========================================
Coverage 83.33% 83.33%
Complexity 96 96
=========================================
Files 8 8
Lines 516 516
=========================================
Hits 430 430
Misses 86 86
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Copilot <[email protected]>
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
@gziolo quick question, from my local testing it appears that all Abilities API REST Endpoints require authentication, is this correct? Want to make sure of my facts before adding review comments. |
I had to double-check, but the answer is:
@johnbillion, any thoughts about the current approach to permissions when calling the REST API endpoints? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor suggestion, but otherwise it all looks good, and checks out.
Added user access information for Abilities API.
Closes #28.
Documents the available REST API endpoints and how to use them for registered abilities.
Covers three routes available:
This is a first pass generated and iterated with Claude Code.