Retrieve Variant References for a Variant Identifier

get

/ohfapi/cg/v3.3/variants/{id}/variantXRef

This endpoints supports the retrieval of Variant References information for a Variant Identifier. It returns Variant Reference information like Database, Reference Identifier and other Reference associated information.

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : VariantXRefs
Type: object
Show Source
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Show Source
Nested Schema : LinkedReference
Type: object
Show Source
Nested Schema : variantXref
Type: array
List of Variant XRef Information
Show Source
Nested Schema : VariantXRef
Type: object
Show Source

400 Response

Invalid parameters supplied

404 Response

Variant varaint XRef(s) not found
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/variants/536777/variantXRef

Example of Response Body

The following example shows the response returned in JSON format.

{
  "resourceType" : "VariantXRef",
  "variantIdentifier" : {
    "system" : "ODB",
    "value" : "536777"
  },
  "variantXref" : [ {
    "database" : "dbSNP_138",
    "referenceId" : "rs137927599"
  } ],
  "variantReferences" : {
    "reference" : "/ohfapi/cg/v3.3/variants/536777"
  }
}
Back to Top