Описание
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.
For any Feedback and Queries please contact vivek.jha@galaxyweblinks.in
Скриншоты
Установка
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.
- Download the Advanced WP REST API plugin from WordPress.org.
- Unzip the package and move to your plugins directory.
- Log into WordPress and navigate to the Plugins screen.
- 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» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Advanced WP REST API» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.0.3
Stable Release
1.0.2
Stable Release
1.0.1
Stable Release
1.0.0
First Stable Release