List of WP-API REST endpoints and implementation status
-
GET /media
-
POST /media
-
GET /media/[id]
-
PUT /media/[id]
(Unknown if supported) -
DELETE /media/[id]
(requiresdefine( 'MEDIA_TRASH', true );
inwp_config.php
, see: WP-API/WP-API#1493)
-
GET /comments
-
POST /comments
(Implemented but untested) -
GET /comments/[id]
-
PUT /comments/[id]
(Implemented but untested) -
DELETE /comments/[id]
(Implemented but untested)
-
GET /statuses
-
GET /statuses/[slug]
-
GET /types
-
GET /types/[slug]
-
GET /posts
-
POST /posts
-
GET /posts/[id]
-
PUT /posts/[id]
-
DELETE /posts/[id]
-
GET /pages
-
POST /pages
-
GET /pages/[id]
-
PUT /pages/[id]
-
DELETE /pages/[id]
-
GET /[post_base]/[post_id]/terms/[tax_base]
-
GET /[post_base]/[post_id]/terms/[tax_base]/[term_id]
-
POST /[post_base]/[post_id]/terms/[tax_base]/[term_id]
-
DELETE /[post_base]/[post_id]/terms/[tax_base]/[term_id]
[post_base] = "posts"
[tax_base] = "tag" | "category"
-
GET /posts/[post_id]/terms/tag
-
GET /posts/[post_id]/terms/tag/[term_id]
-
POST /posts/[post_id]/terms/tag/[term_id]
-
DELETE /posts/[post_id]/terms/tag/[term_id]
-
GET /posts/[post_id]/terms/category
-
GET /posts/[post_id]/terms/category/[term_id]
-
POST /posts/[post_id]/terms/category/[term_id]
-
DELETE /posts/[post_id]/terms/category/[term_id]
-
GET /[parent_base]/[parent_id]/revisions
-
GET /[parent_base]/[parent_id]/revisions/[id]
-
DELETE /[parent_base]/[parent_id]/revisions/[id]
[parent_base] = "posts" | "pages"
-
GET /posts/[parent_id]/revisions
-
GET /posts/[parent_id]/revisions/[id]
-
DELETE /posts/[parent_id]/revisions/[id]
-
GET /pages/[parent_id]/revisions
-
GET /pages/[parent_id]/revisions/[id]
-
DELETE /pages/[parent_id]/revisions/[id]
-
GET /taxonomies
-
GET /taxonomies/[slug]
-
GET /terms/[tax_base]
-
POST /terms/[tax_base]
-
GET /terms/[tax_base]/[id]
-
PUT /terms/[tax_base]/[id]
-
DELETE /terms/[tax_base]/[id]
[tax_base] = "tag" | "category"
-
GET /terms/tag
-
POST /terms/tag
-
GET /terms/tag/[id]
-
PUT /terms/tag/[id]
-
DELETE /terms/tag/[id]
-
GET /terms/category
-
POST /terms/category
-
GET /terms/category/[id]
-
PUT /terms/category/[id]
-
DELETE /terms/category/[id]
-
GET /users
-
POST /users
-
GET /users/[id]
-
PUT /users/[id]
-
DELETE /users/[id]
-
GET /users/me
-
GET /settings
-
POST /settings