Hostingsurge Word Press API
The WordPress API from Hostingsurge — 43 operation(s) for wordpress.
Operations 55
GET
/projects/{projectId}/wordpress/status
Live core/plugin/theme versions, available updates and PHP version (read via…
#
POST
/projects/{projectId}/wordpress/update
Update WordPress core, a plugin or a theme (a pre-update backup is taken by…
#
GET
/projects/{projectId}/wordpress/hardening
Live hardening state (DISALLOW_FILE_EDIT, XML-RPC, WP_DEBUG), read via WP-CLI
#
GET
/projects/{projectId}/wordpress/auto-update
Auto-update policy (minor core / plugins / themes)
#
PATCH
/projects/{projectId}/wordpress/auto-update
Change the auto-update policy; runs as a recurring platform cron job
#
POST
/projects/{projectId}/wordpress/admin/reset-password
Reset the first administrator's password to a one-time value (shown once)…
#
GET
/projects/{projectId}/wordpress/health
Core/plugin checksum verification and recent PHP errors
#
GET
/projects/{projectId}/wordpress/backups/schedule
The recurring backup schedule (a platform cron job dumping the site database…
#
PATCH
/projects/{projectId}/wordpress/backups/schedule
Turn the backup schedule on/off or change its frequency/retention
#
GET
/projects/{projectId}/wordpress/backups
On-demand and scheduled backup runs, newest first; only items with usable: true…
#
POST
/projects/{projectId}/wordpress/backups
Take an on-demand backup now (503 when no verified dump was written)
#
POST
/projects/{projectId}/wordpress/backups/restore
Replace the site's database with a usable backup; owner/admin only.
#
POST
/projects/{projectId}/wordpress/backups/download
A 15-minute download link (presigned URL) for a backup dump; the dump is copied…
#
GET
/wordpress/ai
Whether the AI assistant and connecting sites hosted elsewhere are available to…
#
GET
/projects/{projectId}/wordpress/ai/content
The newest pages or posts of a hosted WordPress site (read through WP-CLI), for…
#
POST
/projects/{projectId}/wordpress/ai/runs
Start an AI assistant task: write (a new page or post from a brief), rewrite…
#
POST
/projects/{projectId}/wordpress/ai/runs/{runId}/apply
Save a run's result to the site: SEO texts into Yoast SEO / Rank Math (or the…
#
GET
/wordpress/connections
WordPress sites hosted elsewhere connected to the AI assistant (owners and…
#
POST
/wordpress/connections
Connect a WordPress site hosted elsewhere with a WordPress Application Password…
#
DELETE
/wordpress/connections/{connectionId}
Disconnect a site: the stored Application Password is deleted (revoke it in…
#
PATCH
/wordpress/connections/{connectionId}
Tie a connection to a project (members with access to it can use it) or narrow…
#
POST
/wordpress/connections/{connectionId}/verify
Check the connection again (REST API reachable, Application Password accepted)
#
GET
/wordpress/connections/{connectionId}/content
The newest pages or posts of a connected site (read through its REST API)
#
POST
/wordpress/connections/{connectionId}/runs
Start an AI assistant task: write (a new page or post from a brief), rewrite…
#
POST
/wordpress/connections/{connectionId}/runs/{runId}/apply
Save a run's result to the site: SEO texts into Yoast SEO / Rank Math (or the…
#
POST
/wordpress/connector/pairings
A one-time pairing code for the Hostingsurge Connector plugin, bound to one…
#
GET
/wordpress/connector/pairings/{pairingId}
A pairing's state (open, redeemed, connected, expired, canceled); while…
#
GET
/wordpress/connections/{connectionId}/overview
A connected site's information, menus, theme (and parent), plugin and theme…
#
GET
/wordpress/connections/{connectionId}/analysis
analyze_wordpress for a connected site: inventory, health and findings
#
GET
/projects/{projectId}/wordpress/analysis
analyze_wordpress for a hosted site: inventory, health and findings (updates…
#
POST
/projects/{projectId}/wordpress/changes
Test a risky change safely: snapshot → staging copy → change → php -l → health…
#
POST
/projects/{projectId}/wordpress/changes/{changeId}/approve
Deploy a tested change to the live site (files and allow-listed options only…
#
POST
/projects/{projectId}/wordpress/changes/{changeId}/cancel
Reject a change waiting for approval, or cancel one still being tested; its…
#
POST
/projects/{projectId}/wordpress/changes/{changeId}/staging-access
The staging copy's address and password (HTTP Basic, user "staging"), to look…
#
POST
/wordpress/live/scan
Scan a WordPress site by its address (free, no model, nothing stored, the site…
#
POST
/projects/{projectId}/wordpress/live/connect
WordPress Live on a site hosted here: installs the Hostingsurge Connector with…
#
GET
/wordpress/connections/{connectionId}/live
The workspace: is the site ready, its pages, the signed preview address, the…
#
GET
/wordpress/connections/{connectionId}/live/preview
A fresh signed preview address for a page of the site
#
POST
/wordpress/connections/{connectionId}/live/scan
Scan the connected site (free, no model): a score and a ranked list of findings
#
GET
/wordpress/connections/{connectionId}/live/turns
The chat: messages and the changes they became, newest first
#
POST
/wordpress/connections/{connectionId}/live/turns
Send a message. Answers right away with status running; poll the turn.
#
POST
/wordpress/connections/{connectionId}/live/turns/{turnId}/publish
Publish a waiting change on the real site: all of it or nothing. Never charged
#
POST
/wordpress/connections/{connectionId}/live/turns/{turnId}/discard
Throw away a waiting change
#
POST
/wordpress/connections/{connectionId}/live/turns/{turnId}/undo
Undo a published change, unless a part of it was edited since (409, nothing…
#
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-builder-visual-op-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-policy-templates-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-pending-changes-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-confirm-prices-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-collection-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-create-shop-input-body-schema.json