Fetch List of Labsheets
curl --request GET \
--url https://cloudlab.scispot.io/labsheets/fetch-list \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cloudlab.scispot.io/labsheets/fetch-list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/fetch-list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"name": "Sample Manager"
},
{
"name": "Test Results"
}
],
"total": 2,
"success": true
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Operation failed"
}Labsheets (LIMS) API
Fetch List of Labsheets
Retrieve list of labsheets
GET
https://cloudlab.scispot.io
/
labsheets
/
fetch-list
Fetch List of Labsheets
curl --request GET \
--url https://cloudlab.scispot.io/labsheets/fetch-list \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://cloudlab.scispot.io/labsheets/fetch-list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://cloudlab.scispot.io/labsheets/fetch-list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"name": "Sample Manager"
},
{
"name": "Test Results"
}
],
"total": 2,
"success": true
}{
"success": false,
"message": "Invalid Authentication Token"
}{
"success": false,
"message": "Missing Authentication Token"
}{
"success": false,
"message": "Operation failed"
}⌘I
