# Hostingsurge Deployments API

**Canonical:** https://apis.io/apis/hostingsurge-com/hostingsurge-com-deployments-api/  
**Provider:** Hostingsurge — https://apis.io/providers/hostingsurge-com/  
**Base URL:** https://hostingsurge.com/api/v1  
**Documentation:** https://hostingsurge.com/developers

Hostingsurge Deployments API is one of 37 APIs that [Hostingsurge](https://apis.io/providers/hostingsurge-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Deployment. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

The Deployments API from Hostingsurge — 8 operation(s) for deployments.

## Operations (9)

| Method | Path | Summary |
|---|---|---|
| GET | `/projects/{projectId}/deployments` | List deployments (newest first) |
| POST | `/projects/{projectId}/deployments` | Deploy the branch head again, a pinned commit (ref) or without build cache… |
| GET | `/deployments/{deploymentId}` | Get a deployment (status refreshed from the engine) |
| GET | `/deployments/{deploymentId}/logs` | Build and deploy log (by line offset) |
| GET | `/projects/{projectId}/deployments/{deploymentId}/logs` | Build and deploy log of a deployment of this project (by line offset) |
| POST | `/deployments/{deploymentId}/cancel` | Cancel a queued or running deployment |
| POST | `/deployments/{deploymentId}/rollback` | Redeploy the commit of an earlier ready deployment |
| POST | `/deployments/{deploymentId}/promote` | Promote a ready (preview) deployment to production: a new production deployment… |
| GET | `/projects/{projectId}/logs` | Recent runtime (container) logs |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-deployments-api-openapi.yml
- **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

## Other Hostingsurge APIs (12)

- [Hostingsurge Accelerator API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-accelerator-api/)
- [Hostingsurge Agents API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-agents-api/)
- [Hostingsurge Alerts API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-alerts-api/)
- [Hostingsurge Analytics API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-analytics-api/)
- [Hostingsurge Assistant API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-assistant-api/)
- [Hostingsurge Automation API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-automation-api/)
- [Hostingsurge Backups API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-backups-api/)
- [Hostingsurge Billing API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-billing-api/)
- [Hostingsurge Builder API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-builder-api/)
- [Hostingsurge Business API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-business-api/)
- [Hostingsurge Certificates API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-certificates-api/)
- [Hostingsurge Databases API](https://apis.io/apis/hostingsurge-com/hostingsurge-com-databases-api/)

## Tags

Deployment

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/hostingsurge-com/hostingsurge-com-deployments-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/hostingsurge-com/.
