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(id, id2, id3)
Deletes variant set
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.VariationsetApi;
VariationsetApi apiInstance = new VariationsetApi();
String id = "id_example"; // String |
String id2 = "id_example"; // String |
String id3 = "id_example"; // String |
try {
apiInstance.deleteVariantSetItem(id, id2, id3);
} catch (ApiException e) {
System.err.println("Exception when calling VariationsetApi#deleteVariantSetItem");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
id2 | String | ||
id3 | String |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
List<Association> getAnalyze(id)
Returns list of matches
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.VariationsetApi;
VariationsetApi apiInstance = new VariationsetApi();
String id = "id_example"; // String |
try {
List<Association> result = apiInstance.getAnalyze(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VariationsetApi#getAnalyze");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String |
No authorization required
- Content-Type: application/json
- Accept: application/json
VariantSet getVariantSetItem(id)
Returns a variant set
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.VariationsetApi;
VariationsetApi apiInstance = new VariationsetApi();
String id = "id_example"; // String |
try {
VariantSet result = apiInstance.getVariantSetItem(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VariationsetApi#getVariantSetItem");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String |
No authorization required
- Content-Type: application/json
- Accept: application/json
PageOfVariantSets getVariantSetsArchiveCollection(day, year, month, perPage, page)
Returns list of variant sets from a specified time period
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.VariationsetApi;
VariationsetApi apiInstance = new VariationsetApi();
Integer day = 56; // Integer |
Integer year = 56; // Integer |
Integer month = 56; // Integer |
Integer perPage = 10; // Integer | Results per page {error_msg}
Integer page = 1; // Integer | Page number
try {
PageOfVariantSets result = apiInstance.getVariantSetsArchiveCollection(day, year, month, perPage, page);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VariationsetApi#getVariantSetsArchiveCollection");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
day | Integer | ||
year | Integer | ||
month | Integer | ||
perPage | Integer | Results per page {error_msg} | [optional] [default to 10] |
page | Integer | Page number | [optional] [default to 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
PageOfVariantSets getVariantSetsCollection(perPage, page)
Returns list of variant sets
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.VariationsetApi;
VariationsetApi apiInstance = new VariationsetApi();
Integer perPage = 10; // Integer | Results per page {error_msg}
Integer page = 1; // Integer | Page number
try {
PageOfVariantSets result = apiInstance.getVariantSetsCollection(perPage, page);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VariationsetApi#getVariantSetsCollection");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
perPage | Integer | Results per page {error_msg} | [optional] [default to 10] |
page | Integer | Page number | [optional] [default to 1] |
No authorization required
- Content-Type: application/json
- Accept: application/json
postVariantSetsCollection(payload)
Creates a new variant set
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.VariationsetApi;
VariationsetApi apiInstance = new VariationsetApi();
VariantSet payload = new VariantSet(); // VariantSet |
try {
apiInstance.postVariantSetsCollection(payload);
} catch (ApiException e) {
System.err.println("Exception when calling VariationsetApi#postVariantSetsCollection");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
payload | VariantSet |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
putVariantSetItem(id, id2, payload)
Updates a variant set
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.VariationsetApi;
VariationsetApi apiInstance = new VariationsetApi();
String id = "id_example"; // String |
String id2 = "id_example"; // String |
VariantSet payload = new VariantSet(); // VariantSet |
try {
apiInstance.putVariantSetItem(id, id2, payload);
} catch (ApiException e) {
System.err.println("Exception when calling VariationsetApi#putVariantSetItem");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
id2 | String | ||
payload | VariantSet |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json