Rename A Manifest
curl --request POST \
--url https://cloudlab.scispot.io/manifest/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/rename', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/manifest/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 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
Renames an existing manifest instance (a plate, box, or other run). Provide exactly one of
uuid, hrid, or barcode to identify the manifest, plus the new name. Optionally also
set description.
Only the name (and description, if given) changes: wells, samples, location, HRID, and uuid
are untouched. Renaming to the name it already has is a successful no-op. Archived manifests
cannot be renamed. This does not rename manifest templates — use /manifest/template/rename
for that.
POST
https://cloudlab.scispot.io
/
manifest
/
rename
Rename A Manifest
curl --request POST \
--url https://cloudlab.scispot.io/manifest/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/rename', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/manifest/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 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
