List score ranges
curl --request GET \
--url http://localhost:8081/protocols/{id}/score-rangesconst options = {method: 'GET'};
fetch('http://localhost:8081/protocols/{id}/score-ranges', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/protocols/{id}/score-ranges"
response = requests.get(url)
print(response.text)[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"protocolId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"minScore": 123,
"maxScore": 123,
"classification": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]List score ranges
Returns classification ranges (min/max score -> classification) for the protocol.
GET
/
protocols
/
{id}
/
score-ranges
List score ranges
curl --request GET \
--url http://localhost:8081/protocols/{id}/score-rangesconst options = {method: 'GET'};
fetch('http://localhost:8081/protocols/{id}/score-ranges', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/protocols/{id}/score-ranges"
response = requests.get(url)
print(response.text)[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"protocolId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"minScore": 123,
"maxScore": 123,
"classification": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]