このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

OAuthRest

説明

This plugin enables a resourceful REST interface for posts and comments. Authentication is handled via the oauth-provider plugin.

For more information about resourceful routing, see here.

Acceptable return formats:

  • JSON

Endpoints:

  • GET – /api/posts.:format
  • GET – /api/posts/:id.:format
  • POST – /api/posts.:format
  • PUT – /api/posts/:id.:format
  • GET – /api/comments.:format
  • GET – /api/comments/:id.:format
  • POST – /api/comments.:format
  • PUT – /api/comments/:id.:format

To Do

  1. Limit authentication to specific endpoints (customizable)

インストール

  1. Upload oauthrest to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create a consumer using the ‘OAuth Provider’ menu
  4. Profit

FAQ

How can I contribute to this plugin?

Fork my repo on github and send me a pull request.

Can I limit which endpoints require authentication?

No, not at this time. Feel free to help me out and send me a pull request.

評価

このプラグインにはレビューがありません。

貢献者と開発者

OAuthRest はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“OAuthRest” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.1.0 – 2012-05-03
Initial Release.

0.1.1 – 2012-05-04
Remove XML format. JSON is much more widely accepted and encoding/decoding is built into PHP.

0.1.2 – 2012-05-04
Fix comments resource endpoint.

0.1.3 – 2012-05-07
Fix trackback count for posts. Fix comment dates.

0.2.0 – 2012-05-10
Use the build-in functions when interacting with posts and comments. Fix routing so that we don’t require an “api” page to be created.