Hostingsurge Automation API
The Automation API from Hostingsurge — 8 operation(s) for automation.
Operations 13
POST
/projects/{projectId}/cron
Create a recurring scheduled command (cron job) in the project's container
#
PATCH
/projects/{projectId}/cron/{cronJobId}
Update a cron job's command, schedule, container or enabled state
#
POST
/projects/{projectId}/cron/{cronJobId}/run
Trigger an existing recurring cron job immediately, without waiting for its own…
#
POST
/projects/{projectId}/run-command
Run a one-off command in the project's container and wait for its bounded output
#
POST
/projects/{projectId}/hooks
Create a deploy hook: POST its url (returned once) to deploy the given branch
#
GET
/projects/{projectId}/webhook
Push-to-deploy webhook status (url, last delivery); never returns the secret
#
POST
/projects/{projectId}/webhook
Create or rotate the project's push-to-deploy secret (returned once)
#
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