curl --request GET \
--url http://localhost:9371/services/{serviceId}import requests
url = "http://localhost:9371/services/{serviceId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:9371/services/{serviceId}', 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 => "9371",
CURLOPT_URL => "http://localhost:9371/services/{serviceId}",
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://localhost:9371/services/{serviceId}"
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://localhost:9371/services/{serviceId}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:9371/services/{serviceId}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"version": "1.3.0",
"hash": "<string>",
"source": "<string>",
"adapter": "<string>",
"enabled": true,
"stale": true,
"effectivelyEnabled": true,
"hasIcon": true,
"createdAt": "<string>",
"autoUpdate": true,
"autoUpdateConstraint": "<string>",
"configSchema": {},
"secretsSchema": {}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "rate_limit_exceeded",
"message": "<string>",
"retryAfter": 1
}{
"error": "<string>",
"code": "<string>"
}Get a service
Returns full manifest metadata for a service, including configuration and secrets schemas.
curl --request GET \
--url http://localhost:9371/services/{serviceId}import requests
url = "http://localhost:9371/services/{serviceId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:9371/services/{serviceId}', 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 => "9371",
CURLOPT_URL => "http://localhost:9371/services/{serviceId}",
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://localhost:9371/services/{serviceId}"
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://localhost:9371/services/{serviceId}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:9371/services/{serviceId}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"version": "1.3.0",
"hash": "<string>",
"source": "<string>",
"adapter": "<string>",
"enabled": true,
"stale": true,
"effectivelyEnabled": true,
"hasIcon": true,
"createdAt": "<string>",
"autoUpdate": true,
"autoUpdateConstraint": "<string>",
"configSchema": {},
"secretsSchema": {}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "rate_limit_exceeded",
"message": "<string>",
"retryAfter": 1
}{
"error": "<string>",
"code": "<string>"
}Path Parameters
Service identifier matching the installed manifest id.
1Response
Service details.
Service metadata including configuration and secrets schemas.
Service identifier used as the manifest primary key.
1Display name declared by the service manifest.
1Human-readable description of the service.
Semantic version of the installed service definition.
1"1.3.0"
Content hash of the installed manifest definition.
1Install source used to fetch the manifest definition.
1Adapter module identifier that owns the service.
1Whether the service is currently enabled.
Whether the service needs to be synced. Stale services cannot be enabled or invoked.
Whether the service is actually usable considering its own enabled state, its parent module's state, and whether the module is missing.
Whether the service has a registry-declared icon.
ISO-8601 timestamp of when the service was installed.
Whether the service opted into the background auto-update sweep.
Semver range pinning the auto-update registry version, or null for latest.
JSON Schema describing the service configuration object.
Show child attributes
Show child attributes
JSON Schema describing the service secrets object.
Show child attributes
Show child attributes
Was this page helpful?