GA4GH Beacon API Specification - Individuals Endpoints (2.0.0)

Download OpenAPI specification:Download

E-mail: beacon@ga4gh.org License: Apache 2.0

TBD

GET Endpoints

getIndividuals

Get a list of individuals

query Parameters
requestedSchema
string
Example: requestedSchema=ga4gh-service-info-v1.0

Schema to be used to format the result field in the response. The response will use Beacon format.

skip
integer (Skip) >= 0
Default: 0
Example: skip=0
  • In the request: number of pages to skip * In the response: number of pages that has been skipped
limit
integer (Limit) >= 0
Default: 10
Example: limit=10

Size of the page. Use 0 to return all the results or the maximum allowed by the Beacon, if there is any.

filters
Array of strings
Examples: filters=NCIT:C20197

Responses

Response samples

Content type
application/json
Example
{
  • "beaconHandovers": [],
  • "info": { },
  • "meta": {
    },
  • "responseSummary": {
    }
}

getOneIndividual

Get details about one individual, identified by its (unique) 'id'

path Parameters
id
required
string

Responses

Response samples

Content type
application/json
Example
{
  • "beaconHandovers": [],
  • "info": { },
  • "meta": {
    },
  • "responseSummary": {
    }
}

getOneIndividualGenomicVariants

Get the genomic variants list from one individual, identified by its (unique) 'id'

path Parameters
id
required
string
query Parameters
requestedSchema
string
Example: requestedSchema=ga4gh-service-info-v1.0

Schema to be used to format the result field in the response. The response will use Beacon format.

skip
integer (Skip) >= 0
Default: 0
Example: skip=0
  • In the request: number of pages to skip * In the response: number of pages that has been skipped
limit
integer (Limit) >= 0
Default: 10
Example: limit=10

Size of the page. Use 0 to return all the results or the maximum allowed by the Beacon, if there is any.

Responses

Response samples

Content type
application/json
Example
{
  • "beaconHandovers": [],
  • "info": { },
  • "meta": {
    },
  • "responseSummary": {
    }
}

getOneIndividualBiosamples

Get the biosamples list from one individual, identified by its (unique) 'id'

path Parameters
id
required
string
query Parameters
requestedSchema
string
Example: requestedSchema=ga4gh-service-info-v1.0

Schema to be used to format the result field in the response. The response will use Beacon format.

skip
integer (Skip) >= 0
Default: 0
Example: skip=0
  • In the request: number of pages to skip * In the response: number of pages that has been skipped
limit
integer (Limit) >= 0
Default: 10
Example: limit=10

Size of the page. Use 0 to return all the results or the maximum allowed by the Beacon, if there is any.

Responses

Response samples

Content type
application/json
Example
{
  • "beaconHandovers": [],
  • "info": { },
  • "meta": {
    },
  • "responseSummary": {
    }
}

getIndivualsFilteringTerms

Get the list of filtering terms that could be used with individuals.

query Parameters
skip
integer (Skip) >= 0
Default: 0
Example: skip=0
  • In the request: number of pages to skip * In the response: number of pages that has been skipped
limit
integer (Limit) >= 0
Default: 10
Example: limit=10

Size of the page. Use 0 to return all the results or the maximum allowed by the Beacon, if there is any.

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {}
}

POST Endpoints

postIndividualsRequest

Get a list of example entries

Request Body schema: application/json
$schema
string ($schema)

Refers to the JSON Schema which describes the set of valid attributes for this particular document type. This attribute is mostly used in schemas that should be tested in Beacon implementations.

required
object (beaconRequestMeta)

Meta section of the Beacon request. It includes request context details relevant for the Beacon server when processing the request.

object

Parameters to limit the list of returned results.

Responses

Request samples

Content type
application/json
{
  • "$schema": "string",
  • "meta": {
    },
  • "query": {
    }
}

Response samples

Content type
application/json
Example
{
  • "beaconHandovers": [],
  • "info": { },
  • "meta": {
    },
  • "responseSummary": {
    }
}

postOneIndividual

Get details about one Individual, identified by its (unique) 'id'

path Parameters
id
required
string
Request Body schema: application/json
$schema
string ($schema)

Refers to the JSON Schema which describes the set of valid attributes for this particular document type. This attribute is mostly used in schemas that should be tested in Beacon implementations.

required
object (beaconRequestMeta)

Meta section of the Beacon request. It includes request context details relevant for the Beacon server when processing the request.

object

Parameters to limit the list of returned results.

Responses

Request samples

Content type
application/json
{
  • "$schema": "string",
  • "meta": {
    },
  • "query": {
    }
}

Response samples

Content type
application/json
Example
{
  • "beaconHandovers": [],
  • "info": { },
  • "meta": {
    },
  • "responseSummary": {
    }
}

potOneIndividualGenomicVariants

Get the genomic variants list from one individual, identified by its (unique) 'id'

path Parameters
id
required
string
Request Body schema: application/json
$schema
string ($schema)

Refers to the JSON Schema which describes the set of valid attributes for this particular document type. This attribute is mostly used in schemas that should be tested in Beacon implementations.

required
object (beaconRequestMeta)

Meta section of the Beacon request. It includes request context details relevant for the Beacon server when processing the request.

object

Parameters to limit the list of returned results.

Responses

Request samples

Content type
application/json
{
  • "$schema": "string",
  • "meta": {
    },
  • "query": {
    }
}

Response samples

Content type
application/json
Example
{
  • "beaconHandovers": [],
  • "info": { },
  • "meta": {
    },
  • "responseSummary": {
    }
}

postOneIndividualBiosamples

Get the biosamples list from one individual, identified by its (unique) 'id'

path Parameters
id
required
string
Request Body schema: application/json
$schema
string ($schema)

Refers to the JSON Schema which describes the set of valid attributes for this particular document type. This attribute is mostly used in schemas that should be tested in Beacon implementations.

required
object (beaconRequestMeta)

Meta section of the Beacon request. It includes request context details relevant for the Beacon server when processing the request.

object

Parameters to limit the list of returned results.

Responses

Request samples

Content type
application/json
{
  • "$schema": "string",
  • "meta": {
    },
  • "query": {
    }
}

Response samples

Content type
application/json
Example
{
  • "beaconHandovers": [],
  • "info": { },
  • "meta": {
    },
  • "responseSummary": {
    }
}

postIndividualsFilteringTerms

Get the list of filtering terms that could be used with individuals.

Request Body schema: application/json
$schema
string ($schema)

Refers to the JSON Schema which describes the set of valid attributes for this particular document type. This attribute is mostly used in schemas that should be tested in Beacon implementations.

required
object (beaconRequestMeta)

Meta section of the Beacon request. It includes request context details relevant for the Beacon server when processing the request.

object

Parameters to limit the list of returned results.

Responses

Request samples

Content type
application/json
{
  • "$schema": "string",
  • "meta": {
    },
  • "query": {
    }
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {}
}