Skip to content

Commit 5276094

Browse files
authored
Document user access requirements for REST API
Added user access information for Abilities API.
1 parent 12a43c5 commit 5276094

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/5.rest-api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
The WordPress Abilities API provides REST endpoints that allow external systems to discover and execute abilities via HTTP requests.
44

5+
## User access
6+
7+
Access to all Abilities REST API endpoints requires an authenticated user (see the [Authentication](#authentication) section). Access to execute individual Abilities is restricted based on the `permission_callback()` of the Ability.
8+
59
## Schema
610

711
The Abilities API endpoints are available under the `/wp/v2/abilities` namespace.

0 commit comments

Comments
 (0)