Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://cloudlab.scispot.io/labspace/protocol/update-step \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"stepsToUpdate": [
{
"position": 2,
"data": "<string>",
"checked": true
}
],
"name": "<string>",
"uuid": "<string>",
"hrid": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
stepsToUpdate: [{position: 2, data: '<string>', checked: true}],
name: '<string>',
uuid: '<string>',
hrid: '<string>'
})
};
fetch('https://cloudlab.scispot.io/labspace/protocol/update-step', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labspace/protocol/update-step"
payload = {
"stepsToUpdate": [
{
"position": 2,
"data": "<string>",
"checked": True
}
],
"name": "<string>",
"uuid": "<string>",
"hrid": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Not found"
}{
"success": false,
"message": "Conflict"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Validation notes: provide at least one of name, hrid, uuid.
curl --request POST \
--url https://cloudlab.scispot.io/labspace/protocol/update-step \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"stepsToUpdate": [
{
"position": 2,
"data": "<string>",
"checked": true
}
],
"name": "<string>",
"uuid": "<string>",
"hrid": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
stepsToUpdate: [{position: 2, data: '<string>', checked: true}],
name: '<string>',
uuid: '<string>',
hrid: '<string>'
})
};
fetch('https://cloudlab.scispot.io/labspace/protocol/update-step', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labspace/protocol/update-step"
payload = {
"stepsToUpdate": [
{
"position": 2,
"data": "<string>",
"checked": True
}
],
"name": "<string>",
"uuid": "<string>",
"hrid": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Not found"
}{
"success": false,
"message": "Conflict"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}