內容簡介
WPoniOS – Rest API 是一個 WordPress 外掛,提供 WordPress CMS 的 REST 接口。
REST 接口返回並接受 JSON 格式的數據。例如:
[ {
"post_type":"post", "post":"this is the post body", "date":"04/01/2012" }, ... ]
REST API 提供了用於獲取關於文章、頁面、評論、標籤和分類的信息的方法:
GET /posts
GET /post/:post_id
GET /post/:post_id/comments
GET /post/:post_id/comment/:comment_id
PUT /post/:post_id/comment
GET /pages
GET /page/:page_id
GET /page/:page_id/comments
GET /page/:page_id/comment/:comment_id
PUT /page/:page_id/comment
GET /categories
GET /tags
外掛標籤
開發者團隊
原文外掛簡介
WPoniOS – Rest API is a plugin which provide a rest interface in WordPress CMS.
The REST interface return and accept JSON-Format data. Example:
[ {
"post_type":"post", "post":"this is the post body", "date":"04/01/2012" }, ... ]
The REST API provide methods to get information about post, page, comment, tag and category:
GET /posts
GET /post/:post_id
GET /post/:post_id/comments
GET /post/:post_id/comment/:comment_id
PUT /post/:post_id/comment
GET /pages
GET /page/:page_id
GET /page/:page_id/comments
GET /page/:page_id/comment/:comment_id
PUT /page/:page_id/comment
GET /categories
GET /tags
