curl --request GET \
--url http://127.0.0.1:7400/v1/infoimport requests
url = "http://127.0.0.1:7400/v1/info"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://127.0.0.1:7400/v1/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "7400",
CURLOPT_URL => "http://127.0.0.1:7400/v1/info",
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 := "http://127.0.0.1:7400/v1/info"
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("http://127.0.0.1:7400/v1/info")
.asString();require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:7400/v1/info")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"name": "aboard",
"version": "0.1.0",
"server_id": "<string>",
"mode": "local",
"commit": "881a92f4c3d1e0b2a7f6e5d4c3b2a1f0e9d8c7b6",
"commit_time": "2023-11-07T05:31:56Z",
"features": [
"<string>"
],
"storage": {
"db": "sqlite",
"files": "disk"
}
}Identify the server
Returns the server’s name, build and identity. A client uses the build to tell a server from an older aboard apart from a broken one.
curl --request GET \
--url http://127.0.0.1:7400/v1/infoimport requests
url = "http://127.0.0.1:7400/v1/info"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://127.0.0.1:7400/v1/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "7400",
CURLOPT_URL => "http://127.0.0.1:7400/v1/info",
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 := "http://127.0.0.1:7400/v1/info"
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("http://127.0.0.1:7400/v1/info")
.asString();require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:7400/v1/info")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"name": "aboard",
"version": "0.1.0",
"server_id": "<string>",
"mode": "local",
"commit": "881a92f4c3d1e0b2a7f6e5d4c3b2a1f0e9d8c7b6",
"commit_time": "2023-11-07T05:31:56Z",
"features": [
"<string>"
],
"storage": {
"db": "sqlite",
"files": "disk"
}
}Response
Server identity
aboard The server's release version, compared as a semantic version.
"0.1.0"
^srv_[0-9A-HJKMNP-TV-Z]{26}$local for a person's own server, team for one started with
aboard serve --team at a public URL.
local, team The Git commit the server was built from, when known.
"881a92f4c3d1e0b2a7f6e5d4c3b2a1f0e9d8c7b6"
When that commit was made, when known. Between two builds with the same
version, the one with the later commit_time is newer, and one without
a commit_time is older than one with it.
What this server provides beyond the operations every server has, by name, so
a client checks before using one and says server_outdated naming what is
missing. Names are only added: tasks, asks, lines, files. Absent from
servers that don't list features.
The kinds of storage adapter the server runs, with no address, path or credential. Absent from servers before this was reported.
Show child attributes
Show child attributes