List all virus reference indexes. Takes no query or input.
Status: 200 OK
{
"documents": [
{
"version": 0,
"created_at": "2018-02-01T00:28:49.798000Z",
"virus_count": null,
"ready": true,
"has_files": true,
"user": {
"id": "igboyes"
},
"job": {
"id": "wwssuhhy"
},
"id": "jiwncaqr"
}
],
"total_count": 1,
"found_count": 1,
"page_count": 1,
"per_page": 15,
"page": 1,
"modified_virus_count": 0,
"total_virus_count": 1419
}
None
List the latest, ready index builds for all references.
Status: 200 OK
[
{
"id": "0egezq4w",
"version": 0,
"reference": {
"id": "nleoiawn",
"name": "Plant Viruses"
}
},
{
"id": "nz6j0wwk",
"version": 1,
"reference": {
"id": "mifz0ya0",
"name": "Clone of Plant Viruses"
}
}
]
Get the complete representation of an index.
Status: 200 OK
{
"version": 0,
"created_at": "2018-02-01T00:28:49.798000Z",
"virus_count": null,
"manifest": {
"c93ec9a9": 0,
...
},
"ready": true,
"has_files": true,
"user": {
"id": "igboyes"
},
"job": {
"id": "wwssuhhy"
},
"id": "jiwncaqr",
"contributors": [
{
"id": "igboyes",
"count": 1419
}
],
"viruses": [
{
"id": "c93ec9a9",
"name": "Abaca bunchy top virus",
"change_count": 1
},
...
],
"change_count": 1419
}
Status | Message | Reason |
---|---|---|
404 |
Not found | index identified by index_id does not exist |
See References API Documentation
Find the virus changes that are included in a given index build.
GET /api/indexes/bznqwjsa/history
Status: 200 OK
{
"documents": [
{
"method_name": "remove_isolate",
"description": "Removed Isolate Q1108",
"created_at": "2018-02-06T22:02:43.533000Z",
"virus": {
"id": "c93ec9a9",
"name": "Abaca bunchy top virus",
"version": 1
},
"index": {
"id": "bznqwjsa",
"version": 1
},
"user": {
"id": "igboyes"
},
"id": "c93ec9a9.1"
}
],
"total_count": 1420,
"found_count": 1,
"page_count": 1,
"per_page": 15,
"page": 1
}
Status | Message | Reason |
---|---|---|
404 |
Not found | index identified by index_id does not exist |