Giter VIP home page Giter VIP logo

oauthrest's Introduction

=== OAuthRest ===
Contributors: chingor13
Tags: api,rest,oauth,server
Requires at least: 2.8
Tested up to: 3.3.2
Stable tag: 0.2.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Description ==

This plugin enables a resourceful REST interface for posts and comments.  Authentication is handled via the [oauth-provider plugin](http://wordpress.org/extend/plugins/oauth-provider/).

For more information about resourceful routing, see [here](http://guides.rubyonrails.org/routing.html).

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

== Installation ==

1. Upload `oauthrest` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Create a consumer using the 'OAuth Provider' menu
1. Profit

== Frequently Asked Questions ==

= How can I contribute to this plugin? =

Fork my repo on [github](http://github.com/chingor13/oauthrest) 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.

== To Do ==

1. Limit authentication to specific endpoints (customizable)

== Changelog ==

**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.

oauthrest's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

oauthrest's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.