v1beta
Double column
curl
API
CLI
API
CLI

POST /v1/projects/{project}/services/{service}/deployment

Example request

request body

internal

curl

curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request POST \
  --data '{"internal":{"id":"example-build-service","branch":"master","buildSHA":"latest"}}' \
  https://api.northflank.com/v1/projects/{project}/services/{service}/deployment

OR

external

curl

curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request POST \
  --data '{"external":{"imagePath":"nginx:latest","credentials":"example-credentials"}}' \
  https://api.northflank.com/v1/projects/{project}/services/{service}/deployment

Example response

200 OK

success

© 2021 Northflank Ltd. All rights reserved.

TermsPrivacy

contact@northflank.com