Get server information
Return the URLs that can be used to connect to this server.
GET
/api/serverResponses
200Success
urlsstring[]required400InvalidRequestError
_tagstringrequiredAllowed:
InvalidRequestErrormessagestringrequiredkindstring | anyShow propertiesHide properties
Any of:
string
stringany
anyfieldstring | anyShow propertiesHide properties
Any of:
string
stringany
any401UnauthorizedError
_tagstringrequiredAllowed:
UnauthorizedErrormessagestringrequiredRequest
curl -X GET "/api/server"const response = await fetch("/api/server", {
method: "GET"
});import requests
response = requests.get(
"/api/server",
)Response
{
"urls": [
"string"
]
}{
"_tag": "InvalidRequestError",
"message": "string",
"kind": "string",
"field": "string"
}{
"_tag": "UnauthorizedError",
"message": "string"
}