Bibliotheca capability metadata
Returns registry-level capability metadata, including capability schema/spec versions, HTTP API major family, and supported upload profiles such as the v0.1 http-put baseline.
curl --request GET \
--url https://api.example.com/api/v1/capabilitiesimport requests
url = "https://api.example.com/api/v1/capabilities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/capabilities', 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/api/v1/capabilities",
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/api/v1/capabilities"
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/api/v1/capabilities")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/capabilities")
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{
"schemaVersion": "1",
"specVersion": "<string>",
"apiVersion": "<string>",
"scopePolicy": {
"scopesSupported": true,
"scopelessSupported": true,
"scopesRequired": true,
"curatedScopelessModel": true
},
"deliveryModes": [
"<string>"
],
"apis": {
"trustMetadata": true,
"versionIndex": true,
"releaseUploads": true,
"trustUploads": true,
"advisories": true
},
"compatibleSpecVersions": [
"<string>"
],
"uploadProfiles": {
"releaseUploads": [
"<string>"
],
"trustUploads": [
"<string>"
]
},
"extensions": {},
"cache": {
"maxAgeSeconds": 1,
"revalidate": true
}
}{
"type": "https://agentvolumes.org/problems/rate-limited",
"title": "Rate limited",
"status": 429
}Response
Capability metadata
"1"HTTP API major family advertised by this capability document.
^v[1-9][0-9]*$Show child attributes
Show child attributes
Known v0.1 baseline values are cdn and git. Unknown values are tolerated and may be surfaced as diagnostics rather than validation failures.
^(?!.*--)[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$Show child attributes
Show child attributes
Exact Agent Volumes spec versions the bibliotheca explicitly claims compatibility with. This is a set of exact versions, not a SemVer range expression.
^[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9A-Za-z]+(?:\.[0-9A-Za-z]+)*)?(?:\+[0-9A-Za-z]+(?:\.[0-9A-Za-z]+)*)?$Supported upload profiles by upload surface. Known v0.1 portable profile value is http-put. Unknown values are tolerated and may be surfaced as diagnostics rather than validation failures.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
curl --request GET \
--url https://api.example.com/api/v1/capabilitiesimport requests
url = "https://api.example.com/api/v1/capabilities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/capabilities', 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/api/v1/capabilities",
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/api/v1/capabilities"
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/api/v1/capabilities")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/capabilities")
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{
"schemaVersion": "1",
"specVersion": "<string>",
"apiVersion": "<string>",
"scopePolicy": {
"scopesSupported": true,
"scopelessSupported": true,
"scopesRequired": true,
"curatedScopelessModel": true
},
"deliveryModes": [
"<string>"
],
"apis": {
"trustMetadata": true,
"versionIndex": true,
"releaseUploads": true,
"trustUploads": true,
"advisories": true
},
"compatibleSpecVersions": [
"<string>"
],
"uploadProfiles": {
"releaseUploads": [
"<string>"
],
"trustUploads": [
"<string>"
]
},
"extensions": {},
"cache": {
"maxAgeSeconds": 1,
"revalidate": true
}
}{
"type": "https://agentvolumes.org/problems/rate-limited",
"title": "Rate limited",
"status": 429
}