跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Advanced WP REST API

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Advanced WP REST API

作者:Galaxy Weblinks
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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

For any feedback or queries regarding this plugin, please contact our Support team.

屏幕截图

  • 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

帮助将「Advanced WP REST API」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

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.3
  • 最后更新:12 月前
  • 活跃安装数量 200+
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 6.8.5
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    rest-apiwp-post-apiwp-rest-api
  • 高级视图

评级

尚未提交反馈。

添加我的评价

查看全部评论

贡献者

  • Galaxy Weblinks

支持

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

查看支持论坛

捐助

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

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.