Resource URL: http://mytorrentserver/rundb/api/v1/activepgmlibrarykitinfo/
Schema URL: http://mytorrentserver/rundb/api/v1/activepgmlibrarykitinfo/schema/
field | help text | default | nullable | readonly | blank | unique | type |
---|---|---|---|---|---|---|---|
isActive | Boolean data. Ex: True | true | false | false | true | false | boolean |
templatingSize | Unicode string data. Ex: “Hello World” | true | false | false | false | string | |
kitType | Unicode string data. Ex: “Hello World” | n/a | false | false | false | false | string |
description | Unicode string data. Ex: “Hello World” | false | false | true | false | string | |
nucleotideType | Unicode string data. Ex: “Hello World” | false | false | true | false | string | |
instrumentType | Unicode string data. Ex: “Hello World” | false | false | true | false | string | |
samplePrep_instrumentType | Unicode string data. Ex: “Hello World” | false | false | true | false | string | |
runMode | Unicode string data. Ex: “Hello World” | false | false | true | false | string | |
parts | Many related resources. Can be either a list of URIs or list of individually nested resource data. | n/a | false | false | false | false | related |
flowCount | Integer data. Ex: 2673 | n/a | false | false | false | false | integer |
applicationType | Unicode string data. Ex: “Hello World” | true | false | false | false | string | |
uid | Unicode string data. Ex: “Hello World” | n/a | false | false | false | true | string |
libraryReadLength | Integer data. Ex: 2673 | 0 | false | false | false | false | integer |
resource_uri | Unicode string data. Ex: “Hello World” | n/a | false | true | false | false | string |
id | Integer data. Ex: 2673 | false | false | true | true | integer | |
categories | Unicode string data. Ex: “Hello World” | true | false | false | false | string | |
name | Unicode string data. Ex: “Hello World” | n/a | false | false | false | true | string |
Request URL: http://mytorrentserver/rundb/api/v1/activepgmlibrarykitinfo/?format=json&limit=1
import requests
ts_api_request = requests.get("http://mytorrentserver/rundb/api/v1/activepgmlibrarykitinfo/", params={"format": "json", "limit": 1})
ts_api_response = ts_api_request.json()
activepgmlibrarykitinfos = ts_api_response["objects"]
for activepgmlibrarykitinfo in activepgmlibrarykitinfos:
print activepgmlibrarykitinfo
{
"meta": {
"previous": null,
"total_count": 11,
"offset": 0,
"limit": 1,
"next": "/rundb/api/v1/activepgmlibrarykitinfo/?offset=1&limit=1&format=json"
},
"objects": [
{
"isActive": true,
"templatingSize": "",
"kitType": "LibraryKit",
"description": "MuSeek Library Preparation Kit",
"nucleotideType": "dna",
"instrumentType": "",
"samplePrep_instrumentType": "",
"runMode": "",
"parts": [],
"flowCount": 0,
"applicationType": "",
"uid": "LIB0012",
"libraryReadLength": 0,
"resource_uri": "/rundb/api/v1/activepgmlibrarykitinfo/20025/",
"id": 20025,
"categories": "",
"name": "MuSeek(tm) Library Preparation Kit"
}
]
}