Get version information
curl --request GET \
--url https://api.example.com/versionimport requests
url = "https://api.example.com/version"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/version', 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/version",
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/version"
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/version")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/version")
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{
"features": {},
"max_admin_api_version": 1,
"min_admin_api_version": 1,
"version": "<string>",
"ingress_endpoint": "http//127.0.0.1:8080/"
}version
Get version information
Returns the server version, supported Admin API versions, and the advertised ingress endpoint.
GET
/
version
Get version information
curl --request GET \
--url https://api.example.com/versionimport requests
url = "https://api.example.com/version"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/version', 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/version",
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/version"
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/version")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/version")
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{
"features": {},
"max_admin_api_version": 1,
"min_admin_api_version": 1,
"version": "<string>",
"ingress_endpoint": "http//127.0.0.1:8080/"
}Response
200 - application/json
Server version information including supported API versions and ingress endpoint.
Admin API version information
Restate experimental features
List experimental features with their enabled state.
Show child attributes
Show child attributes
Max admin API version
Maximum supported admin API version by the admin server
Required range:
x >= 0Min admin API version
Minimum supported admin API version by the admin server
Required range:
x >= 0Admin server version
Version of the admin server
Ingress endpoint
Ingress endpoint that the Web UI should use to interact with.
Example:
"http//127.0.0.1:8080/"