Title: Advanced WP REST API
Author: Galaxy Weblinks
Published: <strong>2022 年 12 月 28 日</strong>
Last modified: 2026 年 5 月 29 日

---

搜索插件

![](https://ps.w.org/advanced-wp-rest-api/assets/icon-128x128.png?rev=3096504)

# Advanced WP REST API

 作者：[Galaxy Weblinks](https://profiles.wordpress.org/galaxyweblinks/)

[下载](https://downloads.wordpress.org/plugin/advanced-wp-rest-api.1.4.zip)

 * [详情](https://cn.wordpress.org/plugins/advanced-wp-rest-api/#description)
 * [评价](https://cn.wordpress.org/plugins/advanced-wp-rest-api/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/advanced-wp-rest-api/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/advanced-wp-rest-api/#developers)

 [支持](https://wordpress.org/support/plugin/advanced-wp-rest-api/)

## 描述

Advanced WP REST API is a WP REST API plugin that provides custom endpoints, to 
the WordPress REST API. You can enable API routes through a convenient settings 
panel and then manage the API requests and responses.

**Features:**

 * Validate the user
 * Handle Post request
 * Handle User request
 * Handle Product request

**Note:** The API method must be a POST method.

Here’s a link to the documentation for the plugin. This will help you learn more
about its features and how to use it.
 **[Documentation](https://wp-plugins.galaxyweblinks.com/wp-plugins/advanced-wp-rest-api/doc/)**

For any feedback or queries regarding this plugin, please contact our [Support team](https://wp-plugins.galaxyweblinks.com/contact/).

## 屏幕截图

 * [[
 * backend-settings.png

## 安装

This plugin can be installed directly from your site.
 1. Log in and navigate to
_Plugins  Add New. 2. Type “Advanced WP REST API” into the Search and hit Enter.
3. Locate the Advanced WP REST API plugin in the list of search results and click
Install Now. 4. Once installed, click the Activate link.

It can also be installed manually.

 1. Download the Advanced WP REST API plugin from WordPress.org.
 2. Unzip the package and move to your plugins directory.
 3. Log into WordPress and navigate to the Plugins screen.
 4. Locate Advanced WP REST API in the list and click the Activate link.

## 常见问题

### How we can enable/disable the REST API routes?

You can enable/disable it from the Advanced WP REST API options page that exists
under the settings, Just choose to enable/disable API.

### How we can validate the user?

This endpoint takes ‘username’ and ‘password’ in the body of the request.
 Returns
the user object on success Also handles error by returning the relevant error if
the fields are empty or credentials don’t match. Example: http://example.com/wp-
json/api/v2/user/login

### How we can handle post request?

This endpoint takes ‘post_id’, ‘post_type’, and ‘meta_keys’ in the body of the request.

The ‘post_id’ and ‘meta_keys’ must be an array. Returns the post object on success
Example: http://example.com/wp-json/api/v2/postsData

### How we can handle user request?

This endpoint takes ‘user_id’, ‘role’ and ‘meta_keys’ in the body of the request.

The ‘meta_keys’ must be an array. Returns the user object on success Example: http://
example.com/wp-json/api/v2/usersData

### How we can handle product request?

This endpoint takes ‘product_id’ and ‘meta_keys’ in the body of the request.
 The‘
product_id’ and ‘meta_keys’ must be an array. Returns the product object on success
Example: http://example.com/wp-json/api/v2/productsData

## 评价

此插件暂无评价。

## 贡献者及开发者

「Advanced WP REST API」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Galaxy Weblinks ](https://profiles.wordpress.org/galaxyweblinks/)

[帮助将「Advanced WP REST API」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/advanced-wp-rest-api)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/advanced-wp-rest-api/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/advanced-wp-rest-api/)，或通过[RSS](https://plugins.trac.wordpress.org/log/advanced-wp-rest-api/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/advanced-wp-rest-api/)。

## 更新日志

#### 1.4

 * WordPress 7.0 compatibility update. All API endpoints remain the same; use POST
   requests.

#### 1.3

Stable Release

#### 1.2

Stable Release

#### 1.0.3

Stable Release

#### 1.0.2

Stable Release

#### 1.0.1

Stable Release

#### 1.0.0

First Stable Release

## 额外信息

 *  版本 **1.4**
 *  最后更新：**1 周前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 6.8 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/advanced-wp-rest-api/)
 * 标签
 * [rest-api](https://cn.wordpress.org/plugins/tags/rest-api/)[wp-post-api](https://cn.wordpress.org/plugins/tags/wp-post-api/)
   [wp-rest-api](https://cn.wordpress.org/plugins/tags/wp-rest-api/)
 *  [高级视图](https://cn.wordpress.org/plugins/advanced-wp-rest-api/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/advanced-wp-rest-api/reviews/)

## 贡献者

 *   [ Galaxy Weblinks ](https://profiles.wordpress.org/galaxyweblinks/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/advanced-wp-rest-api/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.galaxyweblinks.com/)