Raff Apps

Create deployment

Changed on

Build and roll out a new deployment. Provide a source_blob_key from a completed source upload, or an image_ref for a prebuilt image. With neither, the app redeploys what runs now (an app whose first build failed builds its last source again). It does not fetch a new commit: a GitHub app deploys new commits when you push to its branch.

post/api/v1/apps/services/{service_id}/deployments

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/apps/services/{service_id}/deployments
  • Auth
    API key in header X-API-Key

Path parameters

service_idstring required

App service ID (UUID) or short id (the service_id field)

Request body

channel'console' | 'git_push' | 'cli' | 'compose'
source_blob_keystring

Blob key from a completed source upload

image_refstring

Prebuilt image reference

Response

Deployment queued

successboolean

Changes