GET/sites/$site/categories/slug:$category View and manage a site's tags and categories. GET/sites/$site/comments/$comment_ID/likes/mine/ POST/sites/$site/comments/$comment_ID/likes/mine/delete ![]() POST/sites/$site/comments/$comment_ID/likes/new GET/sites/$site/comments/$comment_ID/likes/ GET/sites/$site/comment-history/$comment_ID Get comment counts for each available status POST/sites/$site/comments/$comment_ID/delete POST/sites/$site/comments/$comment_ID/replies/newĬreate a comment as a reply to another comment. POST/sites/$site/posts/$post_ID/replies/new GET/sites/$site/posts/$post_ID/reblogs/mine POST/sites/$site/posts/$post_ID/reblogs/new ![]() Unsubscribe the current user from the specified post. POST/sites/$site/posts/$post/subscribers/mine/delete POST/sites/$site/posts/$post/subscribers/mine/update Subscribe current user to be notified of the specified post's comments. POST/sites/$site/posts/$post/subscribers/new Get subscription status of the specified post for the current user. GET/sites/$site/posts/$post/subscribers/mine Get a list of the specified post's subscribers. Get the current user's like status for a post. GET/sites/$site/posts/$post_ID/likes/mine/ POST/sites/$site/posts/$post_ID/likes/mine/delete POST/sites/$site/posts/$post_ID/likes/new Get a list of posts across all the user's sites. Trashed posts will be permanently deleted. Note: If the trash is enabled, this request will send non-trashed posts to the trash. Restore a post or page from the trash to its previous status.ĭelete multiple posts. A second request will permanently delete the post. Note: If the trash is enabled, this request will send the post to the trash. Get a list of pages to be displayed as options in a select-a-page-dropdown.ĭelete a post. View and manage posts including reblogs and likes. Set the custom header options for a site. Get the custom header options for a site. Get the custom header options for a site with a particular theme. POST/sites/$site/widgets/widget:$id/deleteĭeactivate a widget on a site by its ID. Search within a site using an Elasticsearch Query API. Get a list of the current user's sites plugins Get a list of the current user's sites features Request streamlined approval to join the WordAds program. Get WordAds TOS information about a site. Get detailed WordAds earnings information about a site. Get detailed WordAds settings information about a site. Retrieve the active and inactive widgets for a site. Get number of posts in the post type groups by post status Get a list of post types available for a site. Get a list of page templates supported by a site. Note: The current user must have publishing access. ![]() Get a list of embeds available on a site. Get a list of shortcodes available on a site. View general site information and options. Sends a two-step code via SMS to the current user. Get information about current user's two factor configuration. POST/me/connected-applications/$ID/deleteĭelete one of current user's connected application access tokens. Get one of current user's connected applications. Get current user's connected applications. POST/me/settings/profile-links/$slug/deleteĭelete a link from current user's profile. Verify strength of a user's new password. Get list of current user's billing history and upcoming charges. Get a list of possible users to suggest for metadata about the current user. Get details of a user of a site by login. View user information data such as username, name, email, blog, and Gravatar. Note that this API is also enabled on, but the URL structure on is slightly different than for self-hosted sites. If you’re looking for the WordPress REST API that shipped as part of WordPress core in version 4.7, see its documentation. Documentation is still available for version 1 of the REST API. This documentation is for our most recent version of the REST API, version 1.1. You’ll be taken to the endpoint’s documentation page, which includes what query parameters the endpoint will accept, what the JSON object’s parameters will be in the response, and an example query/response. If you’re not sure how to make calls to the API, you might want to check out the Getting Started guide or the walkthrough on authentication.įor more information about a particular endpoint, click on its name under the Resource header. As we add more endpoints, they will be automatically documented here and available through the Developer Console. Below, you’ll find a full listing of all the available endpoints.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |