AI助手支持GPT4.0
A WordPress plugin used to monitor updates for core, plugins and themes.
一个WordPress插件,用于监视核心,插件和主题的更新。
It can be also used to check if the website
它也可以用来检查网站
is alive and working correctly.
还活着并且工作正常。 p>
The plugin registers some custom REST endpoints which can be used for monitoring.
该插件注册了一些可用于监视的自定义REST端点。
Make sure that the
确保
ANX_MONITORING_ACCESS_TOKEN is defined, since this is used for authorization.
已定义 ANX_MONITORING_ACCESS_TOKEN strong>,因为它用于授权。The endpoints will return a 401端点将返回401 HTTP_STATUS code if the token is not defined or invalid, and a 200.HTTP_STATUS代码(如果令牌未定义或无效)和200。 p>Version monitoring of core, plugins and themes核心,插件和主题的版本监视 h4>Returns all a list with platform and module information.返回所有包含平台和模块信息的列表。 p>Active permalinks 有效的永久链接 strong> p>/wp-json/anxapi/v1/modules/?access_token=custom_access_token / wp-json / anxapi / v1 / modules /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/modules/&access_token=custom_access_token /?rest_route = / anxapi / v1 / modules /&access_token = custom_access_token code> pre>Live monitoring实时监控 h4>This endpoint can be used to verify if the application is alive and working correctly.此端点可用于验证应用程序是否仍在运行并且运行正常。It checks if the database它检查数据库是否connection is working and makes a query for users.连接正在工作,并向用户查询。It allows to register custom check by using hooks.它允许使用钩子注册自定义检查。 p>Active permalinks 有效的永久链接 strong> p>/wp-json/anxapi/v1/up/?access_token=custom_access_token / wp-json / anxapi / v1 / up /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
The endpoints will return a 401
端点将返回401
HTTP_STATUS code if the token is not defined or invalid, and a 200.
HTTP_STATUS代码(如果令牌未定义或无效)和200。 p>
Returns all a list with platform and module information.
返回所有包含平台和模块信息的列表。 p>
Active permalinks
有效的永久链接 strong> p>/wp-json/anxapi/v1/modules/?access_token=custom_access_token / wp-json / anxapi / v1 / modules /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/modules/&access_token=custom_access_token /?rest_route = / anxapi / v1 / modules /&access_token = custom_access_token code> pre>Live monitoring实时监控 h4>This endpoint can be used to verify if the application is alive and working correctly.此端点可用于验证应用程序是否仍在运行并且运行正常。It checks if the database它检查数据库是否connection is working and makes a query for users.连接正在工作,并向用户查询。It allows to register custom check by using hooks.它允许使用钩子注册自定义检查。 p>Active permalinks 有效的永久链接 strong> p>/wp-json/anxapi/v1/up/?access_token=custom_access_token / wp-json / anxapi / v1 / up /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
/wp-json/anxapi/v1/modules/?access_token=custom_access_token / wp-json / anxapi / v1 / modules /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/modules/&access_token=custom_access_token /?rest_route = / anxapi / v1 / modules /&access_token = custom_access_token code> pre>Live monitoring实时监控 h4>This endpoint can be used to verify if the application is alive and working correctly.此端点可用于验证应用程序是否仍在运行并且运行正常。It checks if the database它检查数据库是否connection is working and makes a query for users.连接正在工作,并向用户查询。It allows to register custom check by using hooks.它允许使用钩子注册自定义检查。 p>Active permalinks 有效的永久链接 strong> p>/wp-json/anxapi/v1/up/?access_token=custom_access_token / wp-json / anxapi / v1 / up /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
/ wp-json / anxapi / v1 / modules /?access_token = custom_access_token
code> pre>
Default
默认 strong> p>/?rest_route=/anxapi/v1/modules/&access_token=custom_access_token /?rest_route = / anxapi / v1 / modules /&access_token = custom_access_token code> pre>Live monitoring实时监控 h4>This endpoint can be used to verify if the application is alive and working correctly.此端点可用于验证应用程序是否仍在运行并且运行正常。It checks if the database它检查数据库是否connection is working and makes a query for users.连接正在工作,并向用户查询。It allows to register custom check by using hooks.它允许使用钩子注册自定义检查。 p>Active permalinks 有效的永久链接 strong> p>/wp-json/anxapi/v1/up/?access_token=custom_access_token / wp-json / anxapi / v1 / up /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
/?rest_route=/anxapi/v1/modules/&access_token=custom_access_token /?rest_route = / anxapi / v1 / modules /&access_token = custom_access_token code> pre>Live monitoring实时监控 h4>This endpoint can be used to verify if the application is alive and working correctly.此端点可用于验证应用程序是否仍在运行并且运行正常。It checks if the database它检查数据库是否connection is working and makes a query for users.连接正在工作,并向用户查询。It allows to register custom check by using hooks.它允许使用钩子注册自定义检查。 p>Active permalinks 有效的永久链接 strong> p>/wp-json/anxapi/v1/up/?access_token=custom_access_token / wp-json / anxapi / v1 / up /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
/?rest_route = / anxapi / v1 / modules /&access_token = custom_access_token
This endpoint can be used to verify if the application is alive and working correctly.
此端点可用于验证应用程序是否仍在运行并且运行正常。
It checks if the database
它检查数据库是否
connection is working and makes a query for users.
连接正在工作,并向用户查询。
It allows to register custom check by using hooks.
它允许使用钩子注册自定义检查。 p>
有效的永久链接 strong> p>/wp-json/anxapi/v1/up/?access_token=custom_access_token / wp-json / anxapi / v1 / up /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
/wp-json/anxapi/v1/up/?access_token=custom_access_token / wp-json / anxapi / v1 / up /?access_token = custom_access_token code> pre>Default 默认 strong> p>/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
/ wp-json / anxapi / v1 / up /?access_token = custom_access_token
默认 strong> p>/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
/?rest_route=/anxapi/v1/up/&access_token=custom_access_token /?rest_route = / anxapi / v1 / up /&access_token = custom_access_token code> pre>
/?rest_route = / anxapi / v1 / up /&access_token = custom_access_token
In the projects wp-config.php add the access token configuration:
在项目wp-config.php中添加访问令牌配置: p>
define(\'ANX_MONITORING_ACCESS_TOKEN\', \'custom_access_token\'); define(\'ANX_MONITORING_ACCESS_TOKEN \',\'custom_access_token \'); code> pre>
define(\'ANX_MONITORING_ACCESS_TOKEN \',\'custom_access_token \');
原文出处:http://www.sanshu.cn/a/2373.html
群主管理都是支付大佬