Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request PUT \ --url http://localhost:8081/protocols/{id} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "prompt": "<string>" } '
const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({name: '<string>', prompt: '<string>'}) }; fetch('http://localhost:8081/protocols/{id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "http://localhost:8081/protocols/{id}" payload = { "name": "<string>", "prompt": "<string>" } headers = {"Content-Type": "application/json"} response = requests.put(url, json=payload, headers=headers) 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" }
Updated protocol