List protocols by institution
curl --request GET \
--url http://localhost:8081/protocolsconst options = {method: 'GET'};
fetch('http://localhost:8081/protocols', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/protocols"
response = requests.get(url)
print(response.text)[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"institutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prompt": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]List protocols by institution
Returns all protocols for the given institution.
GET
/
protocols
List protocols by institution
curl --request GET \
--url http://localhost:8081/protocolsconst options = {method: 'GET'};
fetch('http://localhost:8081/protocols', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/protocols"
response = requests.get(url)
print(response.text)[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"institutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"prompt": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]