Get a participant's operational status
curl --request GET \
--url http://localhost:9820/api/v1/siloc/participants/{participantId}/status \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:9820/api/v1/siloc/participants/{participantId}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:9820/api/v1/siloc/participants/{participantId}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:9820/api/v1/siloc/participants/{participantId}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"current": {
"effectiveAt": "2023-11-07T05:31:56Z",
"status": "1",
"source": "<string>"
},
"history": [
{
"effectiveAt": "2023-11-07T05:31:56Z",
"status": "1",
"source": "<string>"
}
],
"participantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Get a participant's operational status
The current PAG0101 operational status and its history.
GET
/
api
/
v1
/
siloc
/
participants
/
{participantId}
/
status
Get a participant's operational status
curl --request GET \
--url http://localhost:9820/api/v1/siloc/participants/{participantId}/status \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:9820/api/v1/siloc/participants/{participantId}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:9820/api/v1/siloc/participants/{participantId}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:9820/api/v1/siloc/participants/{participantId}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"current": {
"effectiveAt": "2023-11-07T05:31:56Z",
"status": "1",
"source": "<string>"
},
"history": [
{
"effectiveAt": "2023-11-07T05:31:56Z",
"status": "1",
"source": "<string>"
}
],
"participantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Participant id.
Was this page helpful?

