Hi All,

Introduction
WordPress is a free and open source blogging tool and a content management
system (CMS) based on PHP and MySQL. It is the most popular blogging system
in use on the Web.

API
Wordpress REST API [1]

Wordpress Connector Summary
• Connector Name:  wordpress-connector-1.0.0
• Version: 1.0.0
• Technology:  REST

Authentication
Wordpress API uses OAuth2 based authentication [2]

Selected methods:

   - Users
   - listUsers -List the users of the blog


   - Sites
   - getSiteInfo -Retrieve Information about a site/domain


   - Posts
   - createPost -Create a new post
      - updatePost -Edit a post
      - deletePost - Delete a post
      - getPost -Returns a single post
      - getPosts -Returns matching posts, by default this will return all
      the posts
      - getPostbySlug -Returns a single post by the slug (slug is the name
      used for the post in URL)
      - likePost - Like a post
      - listLikes - Returns a list of likes for a post


   - Comments
   - createComment - Create a comment on a post
      - getComments - Returns recent comment for a particular post
      - getRecentComments - Returns recent comments
      - editComment - Edit a single comment
      - deleteComment - Delete a single comment

      -
   - Taxonomy
      - getCategories - Returns a list of site categories
      - createCategory - Create a new category
      - editCategory - Edit a category
      - deleteCategory - Delete a category
      - getTags - Returns a list of site tags
      - createTags - Create a new tag
      - editTag - Edit a tag
      - deleteTags - Delete a tag


   - Follow
   - getFollowers - List a site's followers in reverse chronological order
      - followBlog - Follow the specified blog
      - unfollowBlog - Unfollow the specified blog


   - Reader
   - getFollowingBlogPosts - Returns the list of posts from the blogs
      followed by the user
      - subscribeTag - Subscribe to a new tag
      - unsubscribeTag - Unsubscribe from a tag


   - Stats
   - getStats - Get a site's stats
      - getVisitorsCount - View visitor counts for a site
      - getViewsByCountry - View a site's views by country
      - getSearchTerms - View search terms used to find the site



Methods not selected:
Above mentioned are the selected methods for the version 1.0.0.  The
methods which are not selected are not listed here since there are quit a
lot of methods available in the API

[1] https://developer.wordpress.com/docs/api
<https://developer.wordpress.com/docs/api>
[2] https://developer.wordpress.com/docs/oauth2
<https://developer.wordpress.com/docs/oauth2>





*Thanks & Regards Asinsala*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to