WordPress: Installations

List available WordPress core updates

Changed on

List available WordPress core updates for the specified installation.

Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the id field).

get/api/hosting/v1/accounts/{username}/wordpress/{software}/updates

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/hosting/v1/accounts/{username}/wordpress/{software}/updates
  • Auth: HTTP bearer

Path parameters

usernamestring required
Example:u123456789
softwarestring required
Example:1232456789

WordPress installation (software) identifier

Response

Success response

versionstring

Available WordPress core version

type'major' | 'minor'

Update type

urlstring

Download URL for the update package

Example response

[
  {
    "version": "6.5.2",
    "type": "minor",
    "url": "https://wordpress.org/wordpress-6.5.2.zip"
  }
]

Changes