All URIs are relative to https://localhost/api
Method | HTTP request | Description |
---|---|---|
getRelationUsageBetweenResource | GET /relation/usage/between/{subject_category}/{object_category} | All relations used plus count of associations |
getRelationUsagePivotLabelResource | GET /relation/usage/pivot/label | Relation usage count for all subj x obj category combinations, showing label |
getRelationUsagePivotResource | GET /relation/usage/pivot/ | Relation usage count for all subj x obj category combinations |
getRelationUsageResource | GET /relation/usage/ | All relations used plus count of associations |
List<AssociationResults> getRelationUsageBetweenResource(objectCategory, subjectCategory, subjectTaxon, evidence)
All relations used plus count of associations
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.RelationusageApi;
RelationusageApi apiInstance = new RelationusageApi();
String objectCategory = "objectCategory_example"; // String |
String subjectCategory = "subjectCategory_example"; // String |
String subjectTaxon = "subjectTaxon_example"; // String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default
String evidence = "evidence_example"; // String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2.
try {
List<AssociationResults> result = apiInstance.getRelationUsageBetweenResource(objectCategory, subjectCategory, subjectTaxon, evidence);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RelationusageApi#getRelationUsageBetweenResource");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
objectCategory | String | ||
subjectCategory | String | ||
subjectTaxon | String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default | [optional] |
evidence | String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
List<AssociationResults> getRelationUsagePivotLabelResource(subjectTaxon, evidence)
Relation usage count for all subj x obj category combinations, showing label
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.RelationusageApi;
RelationusageApi apiInstance = new RelationusageApi();
String subjectTaxon = "subjectTaxon_example"; // String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default
String evidence = "evidence_example"; // String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2.
try {
List<AssociationResults> result = apiInstance.getRelationUsagePivotLabelResource(subjectTaxon, evidence);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RelationusageApi#getRelationUsagePivotLabelResource");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
subjectTaxon | String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default | [optional] |
evidence | String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
List<AssociationResults> getRelationUsagePivotResource(subjectTaxon, evidence)
Relation usage count for all subj x obj category combinations
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.RelationusageApi;
RelationusageApi apiInstance = new RelationusageApi();
String subjectTaxon = "subjectTaxon_example"; // String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default
String evidence = "evidence_example"; // String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2.
try {
List<AssociationResults> result = apiInstance.getRelationUsagePivotResource(subjectTaxon, evidence);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RelationusageApi#getRelationUsagePivotResource");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
subjectTaxon | String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default | [optional] |
evidence | String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
List<AssociationResults> getRelationUsageResource(subjectTaxon, evidence)
All relations used plus count of associations
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.RelationusageApi;
RelationusageApi apiInstance = new RelationusageApi();
String subjectTaxon = "subjectTaxon_example"; // String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default
String evidence = "evidence_example"; // String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2.
try {
List<AssociationResults> result = apiInstance.getRelationUsageResource(subjectTaxon, evidence);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RelationusageApi#getRelationUsageResource");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
subjectTaxon | String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default | [optional] |
evidence | String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json