cURL
curl --request POST \
--url https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"apps": [
{
"kind": "<string>",
"name": "<string>",
"source_files": [
{
"content_base64": "<string>",
"path": "<string>",
"executable": true
}
],
"start_command": "<string>",
"allowed_emails": [
"<string>"
],
"build_command": "<string>",
"configure_command": "<string>",
"custom_domain": "<string>",
"dependency_input_paths": [
"<string>"
],
"dependency_output_paths": [
"<string>"
],
"depends_on": [
"<string>"
],
"environment": {},
"executables": {},
"generated_credentials": [
{
"env_var": "<string>",
"key": "<string>"
}
],
"health_command": "<string>",
"health_path": "<string>",
"health_timeout_seconds": 1,
"install_command": "<string>",
"limits": {
"cpu_percent": 1,
"memory_max_mb": 1,
"tasks_max": 1
},
"port": 1,
"reconfigure_command": "<string>",
"restart_policy": "<string>",
"visibility": "<string>",
"volumes": [
{
"mount_path": "<string>",
"name": "<string>",
"size_mb": 1
}
]
}
],
"idempotency_key": "<string>",
"deployment_scope": "<string>",
"replace_app_set": true,
"source_commit": "<string>"
}
'import requests
url = "https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases"
payload = {
"apps": [
{
"kind": "<string>",
"name": "<string>",
"source_files": [
{
"content_base64": "<string>",
"path": "<string>",
"executable": True
}
],
"start_command": "<string>",
"allowed_emails": ["<string>"],
"build_command": "<string>",
"configure_command": "<string>",
"custom_domain": "<string>",
"dependency_input_paths": ["<string>"],
"dependency_output_paths": ["<string>"],
"depends_on": ["<string>"],
"environment": {},
"executables": {},
"generated_credentials": [
{
"env_var": "<string>",
"key": "<string>"
}
],
"health_command": "<string>",
"health_path": "<string>",
"health_timeout_seconds": 1,
"install_command": "<string>",
"limits": {
"cpu_percent": 1,
"memory_max_mb": 1,
"tasks_max": 1
},
"port": 1,
"reconfigure_command": "<string>",
"restart_policy": "<string>",
"visibility": "<string>",
"volumes": [
{
"mount_path": "<string>",
"name": "<string>",
"size_mb": 1
}
]
}
],
"idempotency_key": "<string>",
"deployment_scope": "<string>",
"replace_app_set": True,
"source_commit": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
apps: [
{
kind: '<string>',
name: '<string>',
source_files: [{content_base64: '<string>', path: '<string>', executable: true}],
start_command: '<string>',
allowed_emails: ['<string>'],
build_command: '<string>',
configure_command: '<string>',
custom_domain: '<string>',
dependency_input_paths: ['<string>'],
dependency_output_paths: ['<string>'],
depends_on: ['<string>'],
environment: {},
executables: {},
generated_credentials: [{env_var: '<string>', key: '<string>'}],
health_command: '<string>',
health_path: '<string>',
health_timeout_seconds: 1,
install_command: '<string>',
limits: {cpu_percent: 1, memory_max_mb: 1, tasks_max: 1},
port: 1,
reconfigure_command: '<string>',
restart_policy: '<string>',
visibility: '<string>',
volumes: [{mount_path: '<string>', name: '<string>', size_mb: 1}]
}
],
idempotency_key: '<string>',
deployment_scope: '<string>',
replace_app_set: true,
source_commit: '<string>'
})
};
fetch('https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'apps' => [
[
'kind' => '<string>',
'name' => '<string>',
'source_files' => [
[
'content_base64' => '<string>',
'path' => '<string>',
'executable' => true
]
],
'start_command' => '<string>',
'allowed_emails' => [
'<string>'
],
'build_command' => '<string>',
'configure_command' => '<string>',
'custom_domain' => '<string>',
'dependency_input_paths' => [
'<string>'
],
'dependency_output_paths' => [
'<string>'
],
'depends_on' => [
'<string>'
],
'environment' => [
],
'executables' => [
],
'generated_credentials' => [
[
'env_var' => '<string>',
'key' => '<string>'
]
],
'health_command' => '<string>',
'health_path' => '<string>',
'health_timeout_seconds' => 1,
'install_command' => '<string>',
'limits' => [
'cpu_percent' => 1,
'memory_max_mb' => 1,
'tasks_max' => 1
],
'port' => 1,
'reconfigure_command' => '<string>',
'restart_policy' => '<string>',
'visibility' => '<string>',
'volumes' => [
[
'mount_path' => '<string>',
'name' => '<string>',
'size_mb' => 1
]
]
]
],
'idempotency_key' => '<string>',
'deployment_scope' => '<string>',
'replace_app_set' => true,
'source_commit' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases"
payload := strings.NewReader("{\n \"apps\": [\n {\n \"kind\": \"<string>\",\n \"name\": \"<string>\",\n \"source_files\": [\n {\n \"content_base64\": \"<string>\",\n \"path\": \"<string>\",\n \"executable\": true\n }\n ],\n \"start_command\": \"<string>\",\n \"allowed_emails\": [\n \"<string>\"\n ],\n \"build_command\": \"<string>\",\n \"configure_command\": \"<string>\",\n \"custom_domain\": \"<string>\",\n \"dependency_input_paths\": [\n \"<string>\"\n ],\n \"dependency_output_paths\": [\n \"<string>\"\n ],\n \"depends_on\": [\n \"<string>\"\n ],\n \"environment\": {},\n \"executables\": {},\n \"generated_credentials\": [\n {\n \"env_var\": \"<string>\",\n \"key\": \"<string>\"\n }\n ],\n \"health_command\": \"<string>\",\n \"health_path\": \"<string>\",\n \"health_timeout_seconds\": 1,\n \"install_command\": \"<string>\",\n \"limits\": {\n \"cpu_percent\": 1,\n \"memory_max_mb\": 1,\n \"tasks_max\": 1\n },\n \"port\": 1,\n \"reconfigure_command\": \"<string>\",\n \"restart_policy\": \"<string>\",\n \"visibility\": \"<string>\",\n \"volumes\": [\n {\n \"mount_path\": \"<string>\",\n \"name\": \"<string>\",\n \"size_mb\": 1\n }\n ]\n }\n ],\n \"idempotency_key\": \"<string>\",\n \"deployment_scope\": \"<string>\",\n \"replace_app_set\": true,\n \"source_commit\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"apps\": [\n {\n \"kind\": \"<string>\",\n \"name\": \"<string>\",\n \"source_files\": [\n {\n \"content_base64\": \"<string>\",\n \"path\": \"<string>\",\n \"executable\": true\n }\n ],\n \"start_command\": \"<string>\",\n \"allowed_emails\": [\n \"<string>\"\n ],\n \"build_command\": \"<string>\",\n \"configure_command\": \"<string>\",\n \"custom_domain\": \"<string>\",\n \"dependency_input_paths\": [\n \"<string>\"\n ],\n \"dependency_output_paths\": [\n \"<string>\"\n ],\n \"depends_on\": [\n \"<string>\"\n ],\n \"environment\": {},\n \"executables\": {},\n \"generated_credentials\": [\n {\n \"env_var\": \"<string>\",\n \"key\": \"<string>\"\n }\n ],\n \"health_command\": \"<string>\",\n \"health_path\": \"<string>\",\n \"health_timeout_seconds\": 1,\n \"install_command\": \"<string>\",\n \"limits\": {\n \"cpu_percent\": 1,\n \"memory_max_mb\": 1,\n \"tasks_max\": 1\n },\n \"port\": 1,\n \"reconfigure_command\": \"<string>\",\n \"restart_policy\": \"<string>\",\n \"visibility\": \"<string>\",\n \"volumes\": [\n {\n \"mount_path\": \"<string>\",\n \"name\": \"<string>\",\n \"size_mb\": 1\n }\n ]\n }\n ],\n \"idempotency_key\": \"<string>\",\n \"deployment_scope\": \"<string>\",\n \"replace_app_set\": true,\n \"source_commit\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"apps\": [\n {\n \"kind\": \"<string>\",\n \"name\": \"<string>\",\n \"source_files\": [\n {\n \"content_base64\": \"<string>\",\n \"path\": \"<string>\",\n \"executable\": true\n }\n ],\n \"start_command\": \"<string>\",\n \"allowed_emails\": [\n \"<string>\"\n ],\n \"build_command\": \"<string>\",\n \"configure_command\": \"<string>\",\n \"custom_domain\": \"<string>\",\n \"dependency_input_paths\": [\n \"<string>\"\n ],\n \"dependency_output_paths\": [\n \"<string>\"\n ],\n \"depends_on\": [\n \"<string>\"\n ],\n \"environment\": {},\n \"executables\": {},\n \"generated_credentials\": [\n {\n \"env_var\": \"<string>\",\n \"key\": \"<string>\"\n }\n ],\n \"health_command\": \"<string>\",\n \"health_path\": \"<string>\",\n \"health_timeout_seconds\": 1,\n \"install_command\": \"<string>\",\n \"limits\": {\n \"cpu_percent\": 1,\n \"memory_max_mb\": 1,\n \"tasks_max\": 1\n },\n \"port\": 1,\n \"reconfigure_command\": \"<string>\",\n \"restart_policy\": \"<string>\",\n \"visibility\": \"<string>\",\n \"volumes\": [\n {\n \"mount_path\": \"<string>\",\n \"name\": \"<string>\",\n \"size_mb\": 1\n }\n ]\n }\n ],\n \"idempotency_key\": \"<string>\",\n \"deployment_scope\": \"<string>\",\n \"replace_app_set\": true,\n \"source_commit\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"release": {
"apps": "<unknown>",
"artifact_release_id": "<string>",
"can_rollback": true,
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"idempotency_key": "<string>",
"is_current": true,
"owner_key": "<string>",
"status": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"workspace_id": "<string>",
"error": "<string>",
"previous_release_id": "<string>",
"source_commit": "<string>"
}
}Prepare an app release
POST
/
api
/
v1
/
workspaces
/
{id}
/
app-releases
cURL
curl --request POST \
--url https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"apps": [
{
"kind": "<string>",
"name": "<string>",
"source_files": [
{
"content_base64": "<string>",
"path": "<string>",
"executable": true
}
],
"start_command": "<string>",
"allowed_emails": [
"<string>"
],
"build_command": "<string>",
"configure_command": "<string>",
"custom_domain": "<string>",
"dependency_input_paths": [
"<string>"
],
"dependency_output_paths": [
"<string>"
],
"depends_on": [
"<string>"
],
"environment": {},
"executables": {},
"generated_credentials": [
{
"env_var": "<string>",
"key": "<string>"
}
],
"health_command": "<string>",
"health_path": "<string>",
"health_timeout_seconds": 1,
"install_command": "<string>",
"limits": {
"cpu_percent": 1,
"memory_max_mb": 1,
"tasks_max": 1
},
"port": 1,
"reconfigure_command": "<string>",
"restart_policy": "<string>",
"visibility": "<string>",
"volumes": [
{
"mount_path": "<string>",
"name": "<string>",
"size_mb": 1
}
]
}
],
"idempotency_key": "<string>",
"deployment_scope": "<string>",
"replace_app_set": true,
"source_commit": "<string>"
}
'import requests
url = "https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases"
payload = {
"apps": [
{
"kind": "<string>",
"name": "<string>",
"source_files": [
{
"content_base64": "<string>",
"path": "<string>",
"executable": True
}
],
"start_command": "<string>",
"allowed_emails": ["<string>"],
"build_command": "<string>",
"configure_command": "<string>",
"custom_domain": "<string>",
"dependency_input_paths": ["<string>"],
"dependency_output_paths": ["<string>"],
"depends_on": ["<string>"],
"environment": {},
"executables": {},
"generated_credentials": [
{
"env_var": "<string>",
"key": "<string>"
}
],
"health_command": "<string>",
"health_path": "<string>",
"health_timeout_seconds": 1,
"install_command": "<string>",
"limits": {
"cpu_percent": 1,
"memory_max_mb": 1,
"tasks_max": 1
},
"port": 1,
"reconfigure_command": "<string>",
"restart_policy": "<string>",
"visibility": "<string>",
"volumes": [
{
"mount_path": "<string>",
"name": "<string>",
"size_mb": 1
}
]
}
],
"idempotency_key": "<string>",
"deployment_scope": "<string>",
"replace_app_set": True,
"source_commit": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
apps: [
{
kind: '<string>',
name: '<string>',
source_files: [{content_base64: '<string>', path: '<string>', executable: true}],
start_command: '<string>',
allowed_emails: ['<string>'],
build_command: '<string>',
configure_command: '<string>',
custom_domain: '<string>',
dependency_input_paths: ['<string>'],
dependency_output_paths: ['<string>'],
depends_on: ['<string>'],
environment: {},
executables: {},
generated_credentials: [{env_var: '<string>', key: '<string>'}],
health_command: '<string>',
health_path: '<string>',
health_timeout_seconds: 1,
install_command: '<string>',
limits: {cpu_percent: 1, memory_max_mb: 1, tasks_max: 1},
port: 1,
reconfigure_command: '<string>',
restart_policy: '<string>',
visibility: '<string>',
volumes: [{mount_path: '<string>', name: '<string>', size_mb: 1}]
}
],
idempotency_key: '<string>',
deployment_scope: '<string>',
replace_app_set: true,
source_commit: '<string>'
})
};
fetch('https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'apps' => [
[
'kind' => '<string>',
'name' => '<string>',
'source_files' => [
[
'content_base64' => '<string>',
'path' => '<string>',
'executable' => true
]
],
'start_command' => '<string>',
'allowed_emails' => [
'<string>'
],
'build_command' => '<string>',
'configure_command' => '<string>',
'custom_domain' => '<string>',
'dependency_input_paths' => [
'<string>'
],
'dependency_output_paths' => [
'<string>'
],
'depends_on' => [
'<string>'
],
'environment' => [
],
'executables' => [
],
'generated_credentials' => [
[
'env_var' => '<string>',
'key' => '<string>'
]
],
'health_command' => '<string>',
'health_path' => '<string>',
'health_timeout_seconds' => 1,
'install_command' => '<string>',
'limits' => [
'cpu_percent' => 1,
'memory_max_mb' => 1,
'tasks_max' => 1
],
'port' => 1,
'reconfigure_command' => '<string>',
'restart_policy' => '<string>',
'visibility' => '<string>',
'volumes' => [
[
'mount_path' => '<string>',
'name' => '<string>',
'size_mb' => 1
]
]
]
],
'idempotency_key' => '<string>',
'deployment_scope' => '<string>',
'replace_app_set' => true,
'source_commit' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases"
payload := strings.NewReader("{\n \"apps\": [\n {\n \"kind\": \"<string>\",\n \"name\": \"<string>\",\n \"source_files\": [\n {\n \"content_base64\": \"<string>\",\n \"path\": \"<string>\",\n \"executable\": true\n }\n ],\n \"start_command\": \"<string>\",\n \"allowed_emails\": [\n \"<string>\"\n ],\n \"build_command\": \"<string>\",\n \"configure_command\": \"<string>\",\n \"custom_domain\": \"<string>\",\n \"dependency_input_paths\": [\n \"<string>\"\n ],\n \"dependency_output_paths\": [\n \"<string>\"\n ],\n \"depends_on\": [\n \"<string>\"\n ],\n \"environment\": {},\n \"executables\": {},\n \"generated_credentials\": [\n {\n \"env_var\": \"<string>\",\n \"key\": \"<string>\"\n }\n ],\n \"health_command\": \"<string>\",\n \"health_path\": \"<string>\",\n \"health_timeout_seconds\": 1,\n \"install_command\": \"<string>\",\n \"limits\": {\n \"cpu_percent\": 1,\n \"memory_max_mb\": 1,\n \"tasks_max\": 1\n },\n \"port\": 1,\n \"reconfigure_command\": \"<string>\",\n \"restart_policy\": \"<string>\",\n \"visibility\": \"<string>\",\n \"volumes\": [\n {\n \"mount_path\": \"<string>\",\n \"name\": \"<string>\",\n \"size_mb\": 1\n }\n ]\n }\n ],\n \"idempotency_key\": \"<string>\",\n \"deployment_scope\": \"<string>\",\n \"replace_app_set\": true,\n \"source_commit\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"apps\": [\n {\n \"kind\": \"<string>\",\n \"name\": \"<string>\",\n \"source_files\": [\n {\n \"content_base64\": \"<string>\",\n \"path\": \"<string>\",\n \"executable\": true\n }\n ],\n \"start_command\": \"<string>\",\n \"allowed_emails\": [\n \"<string>\"\n ],\n \"build_command\": \"<string>\",\n \"configure_command\": \"<string>\",\n \"custom_domain\": \"<string>\",\n \"dependency_input_paths\": [\n \"<string>\"\n ],\n \"dependency_output_paths\": [\n \"<string>\"\n ],\n \"depends_on\": [\n \"<string>\"\n ],\n \"environment\": {},\n \"executables\": {},\n \"generated_credentials\": [\n {\n \"env_var\": \"<string>\",\n \"key\": \"<string>\"\n }\n ],\n \"health_command\": \"<string>\",\n \"health_path\": \"<string>\",\n \"health_timeout_seconds\": 1,\n \"install_command\": \"<string>\",\n \"limits\": {\n \"cpu_percent\": 1,\n \"memory_max_mb\": 1,\n \"tasks_max\": 1\n },\n \"port\": 1,\n \"reconfigure_command\": \"<string>\",\n \"restart_policy\": \"<string>\",\n \"visibility\": \"<string>\",\n \"volumes\": [\n {\n \"mount_path\": \"<string>\",\n \"name\": \"<string>\",\n \"size_mb\": 1\n }\n ]\n }\n ],\n \"idempotency_key\": \"<string>\",\n \"deployment_scope\": \"<string>\",\n \"replace_app_set\": true,\n \"source_commit\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rigbox.dev/api/v1/workspaces/{id}/app-releases")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"apps\": [\n {\n \"kind\": \"<string>\",\n \"name\": \"<string>\",\n \"source_files\": [\n {\n \"content_base64\": \"<string>\",\n \"path\": \"<string>\",\n \"executable\": true\n }\n ],\n \"start_command\": \"<string>\",\n \"allowed_emails\": [\n \"<string>\"\n ],\n \"build_command\": \"<string>\",\n \"configure_command\": \"<string>\",\n \"custom_domain\": \"<string>\",\n \"dependency_input_paths\": [\n \"<string>\"\n ],\n \"dependency_output_paths\": [\n \"<string>\"\n ],\n \"depends_on\": [\n \"<string>\"\n ],\n \"environment\": {},\n \"executables\": {},\n \"generated_credentials\": [\n {\n \"env_var\": \"<string>\",\n \"key\": \"<string>\"\n }\n ],\n \"health_command\": \"<string>\",\n \"health_path\": \"<string>\",\n \"health_timeout_seconds\": 1,\n \"install_command\": \"<string>\",\n \"limits\": {\n \"cpu_percent\": 1,\n \"memory_max_mb\": 1,\n \"tasks_max\": 1\n },\n \"port\": 1,\n \"reconfigure_command\": \"<string>\",\n \"restart_policy\": \"<string>\",\n \"visibility\": \"<string>\",\n \"volumes\": [\n {\n \"mount_path\": \"<string>\",\n \"name\": \"<string>\",\n \"size_mb\": 1\n }\n ]\n }\n ],\n \"idempotency_key\": \"<string>\",\n \"deployment_scope\": \"<string>\",\n \"replace_app_set\": true,\n \"source_commit\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"release": {
"apps": "<unknown>",
"artifact_release_id": "<string>",
"can_rollback": true,
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"idempotency_key": "<string>",
"is_current": true,
"owner_key": "<string>",
"status": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"workspace_id": "<string>",
"error": "<string>",
"previous_release_id": "<string>",
"source_commit": "<string>"
}
}Requires the v0.13 app-release capability for your account. See app release workflows for preparation, activation, and recovery.
The handler can accept work asynchronously. Poll the release and inspect its status rather than treating an accepted request as a healthy deployment.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
200 - application/json
App release result
Show child attributes
Show child attributes