All URIs are relative to https://localhost/api
Method | HTTP request | Description |
---|---|---|
deleteVariantSetItem | DELETE /variation/set/{id} | Deletes variant set |
getAnalyze | GET /variation/set/analyze/{id} | Returns list of matches |
getVariantSetItem | GET /variation/set/{id} | Returns a variant set |
getVariantSetsArchiveCollection | GET /variation/set/archive/{year}/{month}/{day}/ | Returns list of variant sets from a specified time period |
getVariantSetsCollection | GET /variation/set/ | Returns list of variant sets |
postVariantSetsCollection | POST /variation/set/ | Creates a new variant set |
putVariantSetItem | PUT /variation/set/{id} | Updates a variant set |
deleteVariantSetItem(idid2id3)
Deletes variant set
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.VariationsetApi();
var id = "id_example"; // String |
var id2 = "id_example"; // String |
var id3 = "id_example"; // String |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.deleteVariantSetItem(idid2id3, callback);
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
id2 | String | ||
id3 | String |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Association] getAnalyze(id)
Returns list of matches
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.VariationsetApi();
var id = "id_example"; // String |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getAnalyze(id, callback);
Name | Type | Description | Notes |
---|---|---|---|
id | String |
No authorization required
- Content-Type: application/json
- Accept: application/json
VariantSet getVariantSetItem(id)
Returns a variant set
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.VariationsetApi();
var id = "id_example"; // String |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getVariantSetItem(id, callback);
Name | Type | Description | Notes |
---|---|---|---|
id | String |
No authorization required
- Content-Type: application/json
- Accept: application/json
PageOfVariantSets getVariantSetsArchiveCollection(year, month, day, opts)
Returns list of variant sets from a specified time period
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.VariationsetApi();
var year = 56; // Integer |
var month = 56; // Integer |
var day = 56; // Integer |
var opts = {
'page': 1, // Integer | Page number
'perPage': 10 // Integer | Results per page {error_msg}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getVariantSetsArchiveCollection(year, month, day, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
year | Integer | ||
month | Integer | ||
day | Integer | ||
page | Integer | Page number | [optional] [default to 1] |
perPage | Integer | Results per page {error_msg} | [optional] [default to 10] |
No authorization required
- Content-Type: application/json
- Accept: application/json
PageOfVariantSets getVariantSetsCollection(opts)
Returns list of variant sets
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.VariationsetApi();
var opts = {
'page': 1, // Integer | Page number
'perPage': 10 // Integer | Results per page {error_msg}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getVariantSetsCollection(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | Page number | [optional] [default to 1] |
perPage | Integer | Results per page {error_msg} | [optional] [default to 10] |
No authorization required
- Content-Type: application/json
- Accept: application/json
postVariantSetsCollection(payload)
Creates a new variant set
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.VariationsetApi();
var payload = new BioLinkApi.VariantSet(); // VariantSet |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.postVariantSetsCollection(payload, callback);
Name | Type | Description | Notes |
---|---|---|---|
payload | VariantSet |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
putVariantSetItem(idid2payload)
Updates a variant set
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.VariationsetApi();
var id = "id_example"; // String |
var id2 = "id_example"; // String |
var payload = new BioLinkApi.VariantSet(); // VariantSet |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.putVariantSetItem(idid2payload, callback);
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
id2 | String | ||
payload | VariantSet |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json