curl --request GET \
--url https://api.example.com/deployments/{deployment}import requests
url = "https://api.example.com/deployments/{deployment}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/deployments/{deployment}', 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.example.com/deployments/{deployment}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/deployments/{deployment}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/deployments/{deployment}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/deployments/{deployment}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"created_at": "<string>",
"http_version": "<string>",
"id": "<string>",
"max_protocol_version": 123,
"min_protocol_version": 123,
"protocol_type": "RequestResponse",
"services": [
{
"deployment_id": "<string>",
"handlers": [
{
"input_description": "<string>",
"name": "<string>",
"output_description": "<string>",
"abort_timeout": "<string>",
"documentation": "<string>",
"enable_lazy_state": true,
"idempotency_retention": "<string>",
"inactivity_timeout": "<string>",
"info": [
{
"message": "<string>",
"code": "<string>"
}
],
"input_json_schema": "<unknown>",
"journal_retention": "<string>",
"metadata": {},
"output_json_schema": "<unknown>",
"public": true,
"retry_policy": {
"exponentiation_factor": 123,
"initial_interval": "<string>",
"max_attempts": 2,
"max_interval": "<string>",
"on_max_attempts": "Pause"
},
"ty": "Exclusive"
}
],
"name": "<string>",
"revision": 1,
"ty": "Service",
"abort_timeout": "<string>",
"documentation": "<string>",
"enable_lazy_state": true,
"idempotency_retention": "<string>",
"inactivity_timeout": "<string>",
"info": [
{
"message": "<string>",
"code": "<string>"
}
],
"journal_retention": "<string>",
"metadata": {},
"public": true,
"retry_policy": {
"exponentiation_factor": 123,
"initial_interval": "<string>",
"max_attempts": 2,
"max_interval": "<string>",
"on_max_attempts": "Pause"
},
"workflow_completion_retention": "<string>"
}
],
"uri": "<string>",
"additional_headers": {},
"auth": {
"GoogleIdToken": {
"audience": "<string>",
"impersonate_service_account": "<string>"
}
},
"info": [
{
"message": "<string>",
"code": "<string>"
}
],
"metadata": {},
"sdk_version": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}Get deployment
Returns detailed information about a registered deployment, including deployment metadata and the services it exposes.
curl --request GET \
--url https://api.example.com/deployments/{deployment}import requests
url = "https://api.example.com/deployments/{deployment}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/deployments/{deployment}', 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.example.com/deployments/{deployment}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/deployments/{deployment}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/deployments/{deployment}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/deployments/{deployment}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"created_at": "<string>",
"http_version": "<string>",
"id": "<string>",
"max_protocol_version": 123,
"min_protocol_version": 123,
"protocol_type": "RequestResponse",
"services": [
{
"deployment_id": "<string>",
"handlers": [
{
"input_description": "<string>",
"name": "<string>",
"output_description": "<string>",
"abort_timeout": "<string>",
"documentation": "<string>",
"enable_lazy_state": true,
"idempotency_retention": "<string>",
"inactivity_timeout": "<string>",
"info": [
{
"message": "<string>",
"code": "<string>"
}
],
"input_json_schema": "<unknown>",
"journal_retention": "<string>",
"metadata": {},
"output_json_schema": "<unknown>",
"public": true,
"retry_policy": {
"exponentiation_factor": 123,
"initial_interval": "<string>",
"max_attempts": 2,
"max_interval": "<string>",
"on_max_attempts": "Pause"
},
"ty": "Exclusive"
}
],
"name": "<string>",
"revision": 1,
"ty": "Service",
"abort_timeout": "<string>",
"documentation": "<string>",
"enable_lazy_state": true,
"idempotency_retention": "<string>",
"inactivity_timeout": "<string>",
"info": [
{
"message": "<string>",
"code": "<string>"
}
],
"journal_retention": "<string>",
"metadata": {},
"public": true,
"retry_policy": {
"exponentiation_factor": 123,
"initial_interval": "<string>",
"max_attempts": 2,
"max_interval": "<string>",
"on_max_attempts": "Pause"
},
"workflow_completion_retention": "<string>"
}
],
"uri": "<string>",
"additional_headers": {},
"auth": {
"GoogleIdToken": {
"audience": "<string>",
"impersonate_service_account": "<string>"
}
},
"info": [
{
"message": "<string>",
"code": "<string>"
}
],
"metadata": {},
"sdk_version": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}{
"message": "<string>",
"restate_code": "<string>"
}Path Parameters
Deployment identifier
Response
Deployment details including services and configuration
- HttpDetailedDeploymentResponse
- LambdaDetailedDeploymentResponse
Detailed information about Restate deployments
HTTP Version
HTTP Version used to invoke this service deployment.
Deployment ID
Maximum Service Protocol version
During registration, the SDKs declare a range from minimum (included) to maximum (included) Service Protocol supported version.
Minimum Service Protocol version
During registration, the SDKs declare a range from minimum (included) to maximum (included) Service Protocol supported version.
Protocol Type
Protocol type used to invoke this service deployment.
RequestResponse, BidiStream Services
List of services exposed by this deployment.
Show child attributes
Show child attributes
Deployment URI
URI used to invoke this service deployment.
Additional headers
Additional headers used to invoke this service deployment.
Show child attributes
Show child attributes
Authentication
Per-deployment authentication, if configured.
Show child attributes
Show child attributes
Info
List of configuration/deprecation information related to this deployment.
Show child attributes
Show child attributes
Metadata
Deployment metadata.
Show child attributes
Show child attributes
SDK version
SDK library and version declared during registration.