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/sequences/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sequences": [
{
"name": "<string>",
"sequence": "<string>",
"type": "<string>",
"sequenceData": "<string>",
"description": "<string>",
"circular": true,
"uuid": "<string>",
"annotations": [
{
"name": "<string>",
"start": 123,
"end": 123,
"id": "<string>",
"color": "<string>",
"type": "<string>",
"forward": true
}
]
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sequences: [
{
name: '<string>',
sequence: '<string>',
type: '<string>',
sequenceData: '<string>',
description: '<string>',
circular: true,
uuid: '<string>',
annotations: [
{
name: '<string>',
start: 123,
end: 123,
id: '<string>',
color: '<string>',
type: '<string>',
forward: true
}
]
}
]
})
};
fetch('https://cloudlab.scispot.io/sequences/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/sequences/bulk"
payload = { "sequences": [
{
"name": "<string>",
"sequence": "<string>",
"type": "<string>",
"sequenceData": "<string>",
"description": "<string>",
"circular": True,
"uuid": "<string>",
"annotations": [
{
"name": "<string>",
"start": 123,
"end": 123,
"id": "<string>",
"color": "<string>",
"type": "<string>",
"forward": True
}
]
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"sequences": [
{
"name": "<string>",
"success": true,
"uuid": "<string>",
"type": "<string>",
"message": "<string>"
}
]
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}Create sequences of any type in bulk. This endpoint supports all the sequence types as the /sequences endpoint with similar syntax inside the sequence array.
curl --request POST \
--url https://cloudlab.scispot.io/sequences/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sequences": [
{
"name": "<string>",
"sequence": "<string>",
"type": "<string>",
"sequenceData": "<string>",
"description": "<string>",
"circular": true,
"uuid": "<string>",
"annotations": [
{
"name": "<string>",
"start": 123,
"end": 123,
"id": "<string>",
"color": "<string>",
"type": "<string>",
"forward": true
}
]
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sequences: [
{
name: '<string>',
sequence: '<string>',
type: '<string>',
sequenceData: '<string>',
description: '<string>',
circular: true,
uuid: '<string>',
annotations: [
{
name: '<string>',
start: 123,
end: 123,
id: '<string>',
color: '<string>',
type: '<string>',
forward: true
}
]
}
]
})
};
fetch('https://cloudlab.scispot.io/sequences/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/sequences/bulk"
payload = { "sequences": [
{
"name": "<string>",
"sequence": "<string>",
"type": "<string>",
"sequenceData": "<string>",
"description": "<string>",
"circular": True,
"uuid": "<string>",
"annotations": [
{
"name": "<string>",
"start": 123,
"end": 123,
"id": "<string>",
"color": "<string>",
"type": "<string>",
"forward": True
}
]
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"sequences": [
{
"name": "<string>",
"success": true,
"uuid": "<string>",
"type": "<string>",
"message": "<string>"
}
]
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Validation error"
}{
"success": false,
"message": "Operation failed"
}