Directory / plugin

OAuthRest

v0.1 · by chingor13

OAuthRest is an implementation of a resourceful REST api. It uses authentication via the oauth-provider plugin.

About this plugin

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)

Plugin tags