Return latest wordpress.org updates

This function returns the available WordPress® updates from wordpress.org.

Note:

You must install the WordPress Manager cPanel plugin to access this API function.

Authorizations:
query Parameters
cache_time
integer >= 0
Default: 86400

The length of time in seconds to cache the database between requests to wordpress.org.

Example: cache_time=3600
force
integer
Default: 0

Whether to force a reload from the remote API. Otherwise, the function returns information stored in local cache.

  • 1 — Force reload
  • 0 — Read local cashe.
Enum: 0 1
Example: force=0

Responses

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object

Request samples

uapi --output=jsonpretty \
  --user=username \
  WordPressInstanceManager \
  get_latest_wordpress_version_from_wordpress_org

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "get_latest_wordpress_version_from_wordpress_org",
  • "module": "WordPressInstanceManager",
  • "result": {
    • "data": {
      • "offers": [
        • {
          • "current": null,
          • "download": null,
          • "locale": null,
          • "mysql_version": null,
          • "new_bundled": null,
          • "packages": {
            • "full": null,
            • "new_bundled": null,
            • "no_content": null,
            • "partial": null,
            • "rollback": null
            },
          • "partial_version": null,
          • "php_version": null,
          • "response": null,
          • "version": null
          }
        ],
      • "translations": [
        • "string"
        ]
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}