Swagger UI (served by swagger-ui-express)
GET
/docsHuman-readable API documentation. Not part of the machine contract.
Response
HTML page.
Reference › Service APIs › MessageBox › Meta
/docsHuman-readable API documentation. Not part of the machine contract.
HTML page.
curl -X GET "https://{host}/docs"const response = await fetch(`https://{host}/docs`, {
method: 'GET'
});
const data = await response.json();import requests
response = requests.request(
"GET",
"https://{host}/docs",
)
data = response.json()<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://{host}/docs");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
curl_close($ch);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://{host}/docs", nil)
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(string(data))
}HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://{host}/docs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());require "net/http"
require "uri"
uri = URI("https://{host}/docs")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
request = Net::HTTP::Get.new(uri)
response = http.request(request)
puts response.body(no body)curl -X GET "https://{host}/docs"const response = await fetch(`https://{host}/docs`, {
method: 'GET'
});
const data = await response.json();import requests
response = requests.request(
"GET",
"https://{host}/docs",
)
data = response.json()<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://{host}/docs");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
curl_close($ch);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://{host}/docs", nil)
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
fmt.Println(string(data))
}HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://{host}/docs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());require "net/http"
require "uri"
uri = URI("https://{host}/docs")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
request = Net::HTTP::Get.new(uri)
response = http.request(request)
puts response.body