Rename A Manifest Template
curl --request POST \
--url https://cloudlab.scispot.io/manifest/template/rename \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uuid": "84b01c96-4493-4d58-a7db-c54ae57f2a6e",
"name": "New Manifest Name",
"description": "New Description of manifest"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
uuid: '84b01c96-4493-4d58-a7db-c54ae57f2a6e',
name: 'New Manifest Name',
description: 'New Description of manifest'
})
};
fetch('https://cloudlab.scispot.io/manifest/template/rename', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/manifest/template/rename"
payload = {
"uuid": "84b01c96-4493-4d58-a7db-c54ae57f2a6e",
"name": "New Manifest Name",
"description": "New Description of manifest"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Manifest template renamed successfully",
"data": {
"uuid": "84b01c96-4493-4d58-a7db-c54ae57f2a6e",
"name": "New Manifest Name",
"description": "New Description of manifest"
}
}{
"success": false,
"message": "Bad request"
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Manifests (Plates, Boxes, Racks) API
Rename A Manifest Template
Renames an existing manifest template (the plate or box layout definition that manifests
are created from). Provide the template uuid and the new name. Optionally also set
description.
Only the name (and description, if given) changes: the layout, wells, properties, and uuid
are untouched. Renaming to the name it already has is a successful no-op. Archived templates
cannot be renamed. Existing manifests created from the template keep the template name they
were created with. Anything that creates a manifest from the template by its old name must
use the new name afterwards. This does not rename manifest instances — use /manifest/rename
for that.
POST
https://cloudlab.scispot.io
/
manifest
/
template
/
rename
Rename A Manifest Template
curl --request POST \
--url https://cloudlab.scispot.io/manifest/template/rename \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"uuid": "84b01c96-4493-4d58-a7db-c54ae57f2a6e",
"name": "New Manifest Name",
"description": "New Description of manifest"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
uuid: '84b01c96-4493-4d58-a7db-c54ae57f2a6e',
name: 'New Manifest Name',
description: 'New Description of manifest'
})
};
fetch('https://cloudlab.scispot.io/manifest/template/rename', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/manifest/template/rename"
payload = {
"uuid": "84b01c96-4493-4d58-a7db-c54ae57f2a6e",
"name": "New Manifest Name",
"description": "New Description of manifest"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Manifest template renamed successfully",
"data": {
"uuid": "84b01c96-4493-4d58-a7db-c54ae57f2a6e",
"name": "New Manifest Name",
"description": "New Description of manifest"
}
}{
"success": false,
"message": "Bad request"
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Authorizations
Body
application/json
⌘I
