Documentation menu

Deploy service source

POSThttps://api.instacloud.com/projects/{projectId}/services/{serviceId}/source/deploy

Token scope: account · org · project — read-only tokens refused (not a GET).

Build and deploy the tracked branch’s tip now — the redeploy for a public repo or a service with auto-deploy off; a terminal build of the same tip is re-run.

Parameters

NameInTypeRequiredDescription
projectIdpathstringyes
serviceIdpathstringyes

Responses

202

Default Response

FieldTypeRequiredDescription
buildobjectyes
build.buildIdstringyes
build.queuedbooleanyesfalse when this commit already has a build (dedup)
build.serviceIdstringyes

400

Default Response

FieldTypeRequiredDescription
errorstringyes

403

Default Response

FieldTypeRequiredDescription
errorstringyes

404

Default Response

FieldTypeRequiredDescription
errorstringyes

View as Markdown