Functions
Create deployment
Changed onBuild and roll out new source. Provide exactly one source:
- source_blob_key — from a completed source upload
- template — a starter template id (python, typescript, node, go)
- files — inline source files (small console edits)
Functions connected to GitHub deploy their branch head when no source is given. Buildpacks detect the language; a Dockerfile at the source root switches to a container build. The container must listen on the PORT environment variable.
post/api/v1/functions/{function_id}/deployments
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/functions/{function_id}/deployments
- AuthAPI key in header X-API-Key
Path parameters
function_idstring required
Function ID, short id (fn-…), URL slug, or name
Request body
Response
Deployment queued
Changes
- info
endpoint added
- info