Skip to content

Latest commit

 

History

History
96 lines (66 loc) · 2.14 KB

IndividualApi.md

File metadata and controls

96 lines (66 loc) · 2.14 KB

IndividualApi

All URIs are relative to https://localhost/api

Method HTTP request Description
getIndividual GET /individual/{id} Returns list of matches
getPedigree GET /individual/pedigree/{id} Returns list of matches

getIndividual

List<Association> getIndividual(id)

Returns list of matches

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.IndividualApi;


IndividualApi apiInstance = new IndividualApi();
String id = "id_example"; // String | 
try {
    List<Association> result = apiInstance.getIndividual(id);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling IndividualApi#getIndividual");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
id String

Return type

List<Association>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getPedigree

List<Association> getPedigree(id)

Returns list of matches

Example

// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.IndividualApi;


IndividualApi apiInstance = new IndividualApi();
String id = "id_example"; // String | 
try {
    List<Association> result = apiInstance.getPedigree(id);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling IndividualApi#getPedigree");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
id String

Return type

List<Association>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json