Skip to content

Supported REST Methods

Arun Prakash edited this page Oct 25, 2026 · 12 revisions

Supported REST Methods

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).

Content

Interface Create List Retrieve Update Delete
posts ✅ ✅ ✅ ✅ ✅
pages ✅ ✅ ✅ ✅ ✅
media ✅ ✅ ✅ ✅ ✅
comments ✅ ✅ ✅ ✅ ✅
categories ✅ ✅ ✅ ✅ ✅
tags ✅ ✅ ✅ ✅ ✅
users ✅ ✅ ✅ ✅ ✅
me - - ✅ ✅ ✅
applicationPasswords ✅ ✅ ✅ ✅ ✅
search - ✅ - - -
postRevisions - ✅ ✅ - -
pageRevisions - ✅ ✅ - -

Site

Interface Create List Retrieve Update Delete
settings - - ✅ ✅ -
themes - ✅ ✅ - -
types (post types) - R ✅ - -
statuses (post statuses) - R ✅ - -
taxonomies - R ✅ - -
globalStyles - - ✅ ✅ -

Blocks and templates

Interface Create List Retrieve Update Delete
blocks (reusable) ✅ ✅ ✅ ✅ ✅
blockTypes - ✅ ✅ - -
blockRenderer - - R (render) - -
blockDirectory (search) - ✅ - - -
patternDirectory - ✅ - - -
templates ✅ ✅ ✅ ✅ ✅
templateParts ✅ ✅ ✅ ✅ ✅
templateRevisions - ✅ ✅ - ✅
templatePartRevisions - ✅ ✅ - ✅
navigations ✅ ✅ ✅ ✅ ✅
navigationRevisions - ✅ ✅ - ✅
navigationAutosaves ✅ ✅ ✅ - -

Menus and widgets

Interface Create List Retrieve Update Delete
menus (classic) ✅ ✅ ✅ ✅ ✅
menuItems (classic) ✅ ✅ ✅ ✅ ✅
menuLocations (classic) - ✅ ✅ - -
widgets ✅ ✅ ✅ ✅ ✅
sidebars - ✅ ✅ ✅ -
widgetTypes - ✅ ✅ - -

Beyond wp/v2

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

Extras on every list

listPages and listAll (Pagination and Finders), listRaw (Raw Requests). Every retrieve also has retrieveStream (Streaming and Polling).

Clone this wiki locally