Title: API REST Posts
Author: Miguel Fuentes
Published: <strong>26.02.2020</strong>
Last modified: 01.07.2026

---

ჩადგმების ძებნა

![](https://ps.w.org/api-rest-posts/assets/banner-772x250.png?rev=2255750)

![](https://ps.w.org/api-rest-posts/assets/icon.svg?rev=2251044)

# API REST Posts

 ავტორი: [Miguel Fuentes](https://profiles.wordpress.org/fuentes7/)

[ჩამოტვირთვა](https://downloads.wordpress.org/plugin/api-rest-posts.1.2.zip)

 * [დეტალები](https://ka.wordpress.org/plugins/api-rest-posts/#description)
 * [მიმოხილვა](https://ka.wordpress.org/plugins/api-rest-posts/#reviews)
 *  [დაყენება](https://ka.wordpress.org/plugins/api-rest-posts/#installation)
 * [დეველოპმენტი](https://ka.wordpress.org/plugins/api-rest-posts/#developers)

 [მხარდაჭერა](https://wordpress.org/support/plugin/api-rest-posts/)

## აღწერა

API REST Posts adds two public REST API endpoints for listing recent posts:

 * Latest posts from a specific category.
 * Latest posts from the whole site.

The plugin settings page lets site administrators configure the date format and 
the number of words returned in each excerpt. Each post response also includes category
data.

### Privacy

This plugin does not collect or store user data, does not set cookies, and does 
not connect to third-party services.

## დაყენება

 1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install it
    from the WordPress plugins screen.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Go to Settings > API REST Posts to configure the date format and excerpt word limit.

## ხდკ

### How do I get latest posts by category?

Use this endpoint and replace `1` with the category ID and `3` with the number of
posts to return:

    ```
    https://example.com/wp-json/last-post/v2/category/1/numberposts/3
    ```

### How do I get latest posts from the whole site?

Use this endpoint and replace `3` with the number of posts to return:

    ```
    https://example.com/wp-json/last-post/v2/numberposts/3
    ```

### Does this plugin collect personal data?

No. The plugin does not collect, store, or send personal data to third parties.

## მიმოხილვები

There are no reviews for this plugin.

## მონაწილეები & დეველოპერები

“API REST Posts” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს
მის განვითარებაში.

მონაწილეები

 *   [ Miguel Fuentes ](https://profiles.wordpress.org/fuentes7/)

[გადათარგმნეთ API REST Posts თქვენს ენაზე.](https://translate.wordpress.org/projects/wp-plugins/api-rest-posts)

### დაინტერესებული ხართ დეველოპმენტით?

[დაათვალიერეთ კოდი](https://plugins.trac.wordpress.org/browser/api-rest-posts/),
შეამოწმეთ [SVN რეპო](https://plugins.svn.wordpress.org/api-rest-posts/), ან გამოიწერეთ
[შექმნის ჟურნალი](https://plugins.trac.wordpress.org/log/api-rest-posts/) : [RSS](https://plugins.trac.wordpress.org/log/api-rest-posts/?limit=100&mode=stop_on_copy&format=rss).

## ცვლილებები

#### 1.2

 * Added category data to each REST API post response.

#### 1.1

 * Added settings sanitization and escaped admin output.
 * Added safe defaults for unsaved settings.
 * Updated REST route registration with explicit public permissions.

## მეტა

 *  Version **1.2**
 *  Last updated **3 თვის წინ**
 *  Active installations **10+**
 *  WordPress version ** 5.2, ან უფრო მაღალი **
 *  Tested up to **7.0.6**
 *  PHP version ** 7.0, ან უფრო მაღალი **
 *  Language
 * [English (US)](https://wordpress.org/plugins/api-rest-posts/)
 * Tags
 * [categories](https://ka.wordpress.org/plugins/tags/categories/)[excerpts](https://ka.wordpress.org/plugins/tags/excerpts/)
   [latest posts](https://ka.wordpress.org/plugins/tags/latest-posts/)[posts](https://ka.wordpress.org/plugins/tags/posts/)
   [rest-api](https://ka.wordpress.org/plugins/tags/rest-api/)
 *  [დამატებითი ხედი](https://ka.wordpress.org/plugins/api-rest-posts/advanced/)

## რეიტინგები

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/api-rest-posts/reviews/)

## მონაწილეები

 *   [ Miguel Fuentes ](https://profiles.wordpress.org/fuentes7/)

## მხარდაჭერა

გაქვთ კომენტარი? გჭირდებათ დახმარება?

 [მხარდაჭერის ფორუმის ნახვა](https://wordpress.org/support/plugin/api-rest-posts/)