Repository navigation
Supported REST Methods
Arun Prakash edited this page Oct 25, 2026
·
12 revisions
Operations per interface. create, list, retrieve, update, delete are methods on the interface (see Sending Requests). "R" means the operation is request(...) from CustomOperation (the endpoint returns a keyed object the library flattens into a list).
| Interface | Create | List | Retrieve | Update | Delete |
|---|---|---|---|---|---|
posts |
✅ | ✅ | ✅ | ✅ | ✅ |
pages |
✅ | ✅ | ✅ | ✅ | ✅ |
media |
✅ | ✅ | ✅ | ✅ | ✅ |
comments |
✅ | ✅ | ✅ | ✅ | ✅ |
categories |
✅ | ✅ | ✅ | ✅ | ✅ |
tags |
✅ | ✅ | ✅ | ✅ | ✅ |
users |
✅ | ✅ | ✅ | ✅ | ✅ |
me |
- | - | ✅ | ✅ | ✅ |
applicationPasswords |
✅ | ✅ | ✅ | ✅ | ✅ |
search |
- | ✅ | - | - | - |
postRevisions |
- | ✅ | ✅ | - | - |
pageRevisions |
- | ✅ | ✅ | - | - |
| Interface | Create | List | Retrieve | Update | Delete |
|---|---|---|---|---|---|
settings |
- | - | ✅ | ✅ | - |
themes |
- | ✅ | ✅ | - | - |
types (post types) |
- | R | ✅ | - | - |
statuses (post statuses) |
- | R | ✅ | - | - |
taxonomies |
- | R | ✅ | - | - |
globalStyles |
- | - | ✅ | ✅ | - |
| Interface | Create | List | Retrieve | Update | Delete |
|---|---|---|---|---|---|
blocks (reusable) |
✅ | ✅ | ✅ | ✅ | ✅ |
blockTypes |
- | ✅ | ✅ | - | - |
blockRenderer |
- | - | R (render) | - | - |
blockDirectory (search) |
- | ✅ | - | - | - |
patternDirectory |
- | ✅ | - | - | - |
templates |
✅ | ✅ | ✅ | ✅ | ✅ |
templateParts |
✅ | ✅ | ✅ | ✅ | ✅ |
templateRevisions |
- | ✅ | ✅ | - | ✅ |
templatePartRevisions |
- | ✅ | ✅ | - | ✅ |
navigations |
✅ | ✅ | ✅ | ✅ | ✅ |
navigationRevisions |
- | ✅ | ✅ | - | ✅ |
navigationAutosaves |
✅ | ✅ | ✅ | - | - |
| Interface | Create | List | Retrieve | Update | Delete |
|---|---|---|---|---|---|
menus (classic) |
✅ | ✅ | ✅ | ✅ | ✅ |
menuItems (classic) |
✅ | ✅ | ✅ | ✅ | ✅ |
menuLocations (classic) |
- | ✅ | ✅ | - | - |
widgets |
✅ | ✅ | ✅ | ✅ | ✅ |
sidebars |
- | ✅ | ✅ | ✅ | - |
widgetTypes |
- | ✅ | ✅ | - | - |
| Interface | What |
|---|---|
graphql |
WPGraphQL: query, mutate, execute, paginate, queryAll, batch, raw. See GraphQL
|
abilities |
WordPress 6.9 Abilities API: list, listAll, retrieve, categories, category, run, runAbility. See Abilities
|
resource<T>(restBase) |
Typed CRUD and pagination for any custom post type or plugin collection. See Custom Post Types |
batch |
WordPress batch endpoint: run. See Batch Requests
|
| any route | Custom Requests and Raw Requests |
listPages and listAll (Pagination and Finders), listRaw (Raw Requests). Every retrieve also has retrieveStream (Streaming and Polling).
Getting started
Requests and data
- Sending Requests
- Error Handling and Responses
- Fluent Queries
- Interfaces and Extensions
- Custom Post Types
- Batch Requests
- Embed and Fields
- Pagination and Finders
- Parallel Requests
- Streaming and Polling
- Pattern Directory Items
Behaviour
- Retries
- Caching
- Request De-duplication and Concurrency
- Middlewares
- Logging
- Offline Write Queue
- Events and Statistics
Other APIs
Extend and test
Reference