Retrieve Genomic Specimen Metadata for Specimen Identifier

get

/ohfapi/cg/v3.3/{apiContext}/genomicspecimens/{id}/metadata

This endpoints supports the retrieval of Genomic Specimen Metadata for a Specimen Identifier. It returns Genomic Specimen Metadata information like Category Name , Tag, String Value, Number Value, Date Value and other Genomic Specimen Metadata associated information.

Request

Supported Media Types
Path Parameters
Query Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : GenomicSpecimen
Type: object
Show Source
Nested Schema : LinkedReference
Type: object
Show Source
Nested Schema : Identifier
Type: object
Identifier assigned by a given system
Show Source

400 Response

Invalid request parameters

404 Response

Specimen metadata not found
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/patientapi/genomicspecimens/48784/metadata

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
  "resourceType": "GenomicSpecimenMetadata",
  "items": [
    {
      "categoryName": "ANALYSIS",
      "metadata": [
        {
          "tag": "DATATYPE",
          "strValue": "variant"
        },
        {
          "tag": "GENOMEBUILD",
          "strValue": "GRCh37"
        },
        {
          "tag": "ANALYSISSYS",
          "strValue": "NGS"
        },
        {
          "tag": "DELETEEXISTINGRESULT",
          "strValue": "Y"
        },
        {
          "tag": "ANALYSISID",
          "strValue": "GENOME_GPS"
        },
        {
          "tag": "ANALYSISVERSION",
          "strValue": "2.0.2"
        },
        {
          "tag": "ANALYSISDATE",
          "strValue": "03/04/2015 02:43",
          "dateValue": "03/04/2015"
        },
        {
          "tag": "DATAFILE",
          "strValue": "dataFiles/gvcf/14-001385_1409700144.gvcf.gz"
        }
      ]
    },
    {
      "categoryName": "RUN",
      "metadata": [
        {
          "tag": "FLOWCELLID",
          "strValue": "UNKNOWN"
        },
        {
          "tag": "CAPTUREKIT",
          "strValue": "Agilent SS Custom Capture"
        },
        {
          "tag": "RUNID",
          "strValue": "145186"
        },
        {
          "tag": "READTYPE",
          "strValue": "Paired End Reads"
        },
        {
          "tag": "LANENUMBER",
          "strValue": "2",
          "numValue": 2
        },
        {
          "tag": "CYCLE",
          "strValue": "1014"
        },
        {
          "tag": "CUSTOMINDEX",
          "strValue": "IGCCAAT"
        },
        {
          "tag": "APPLICATIONTYPE",
          "strValue": "exome"
        },
        {
          "tag": "ISVENDORINDEX",
          "strValue": "UNKNOWN"
        }
      ]
    },
    {
      "categoryName": "SPECIMEN",
      "metadata": [
        {
          "tag": "ADDSAMPLEMETAFILE",
          "strValue": "Y"
        },
        {
          "tag": "ADDSAMPLEMETAFILE",
          "strValue": "Y"
        },
        {
          "tag": "SAMPLEIDSOURCE",
          "strValue": "MAYO_RLIMS"
        },
        {
          "tag": "SAMPLEIDSOURCE",
          "strValue": "MAYO_RLIMS"
        },
        {
          "tag": "REQUESTTU",
          "strValue": "tu0"
        },
        {
          "tag": "ISCLINICAL",
          "strValue": "N"
        },
        {
          "tag": "ISCLINICAL",
          "strValue": "N"
        },
        {
          "tag": "SPECIESNAME",
          "strValue": "Homo sapiens"
        },
        {
          "tag": "SPECIESNAME",
          "strValue": "Homo sapiens"
        },
        {
          "tag": "PROJECTID",
          "strValue": "NGSLBP-1407602"
        },
        {
          "tag": "IRB",
          "strValue": "14-001385"
        }
      ]
    }
  ],
  "count": 3,
  "hasMore": false,
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:7010/ohfapi/cg/v3.3/patientapi/genomicspecimens/48784/metadata"
    }
  ]
}
Back to Top