Title: OAuthRest
Author: chingor13
Published: <strong>ئایار 4, 2012</strong>
Last modified: ئایار 10, 2012

---

گەڕان لە پێوەکراوەکان

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/oauthrest.svg)

# OAuthRest

 لەلایەن [chingor13](https://profiles.wordpress.org/chingor13/)

[داگرتن](https://downloads.wordpress.org/plugin/oauthrest.0.2.0.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/oauthrest/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/oauthrest/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/oauthrest/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/oauthrest/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/oauthrest/)

## وەسف

This plugin enables a resourceful REST interface for posts and comments. Authentication
is handled via the [oauth-provider plugin](https://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

### 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

## پهد

  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.

## پێداچوونەوەکان

هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.

## بەشداربووان و گەشەپێدەران

“OAuthRest” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.

بەشداربووان

 *   [ chingor13 ](https://profiles.wordpress.org/chingor13/)

[“OAuthRest” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/oauthrest)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/oauthrest/)، 
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/oauthrest/) بکە، یان بەشداربە
لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/oauthrest/) لە
ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/oauthrest/?limit=100&mode=stop_on_copy&format=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.

## مێتا

 *  وەشان **0.1**
 *  دوایین بەڕۆژکردنەوە **14 ساڵ لەمەوبەر**
 *  دامەزراندنی چالاک **کەمتر لە 10**
 *  وەشانی وۆردپرێس ** 2.8 یان بەرزتر **
 *  تاقیکراوەتەوە تا **3.3.2**
 *  زمان
 * [English (US)](https://wordpress.org/plugins/oauthrest/)
 * تاگەکان
 * [api](https://ku.wordpress.org/plugins/tags/api/)[oauth](https://ku.wordpress.org/plugins/tags/oauth/)
   [rest](https://ku.wordpress.org/plugins/tags/rest/)[server](https://ku.wordpress.org/plugins/tags/server/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/oauthrest/advanced/)

## هەڵسەنگاندنەکان

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/oauthrest/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/oauthrest/reviews/)

## بەشداربووان

 *   [ chingor13 ](https://profiles.wordpress.org/chingor13/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/oauthrest/)