Retrieve Genes for a Geneset Identifier

get

/HSDataService-web/api/3.2.0/geneSets/{id}

This endpoint supports the retrieval of Genes by Geneset Row ID.

Request

Supported Media Types
  • application/json
  • application/xml
Path Parameters
id
Type: integer (int64)
Required: true
Gene_set_id value of a geneSet
Query Parameters
limit
Type: integer (int32)
Number of rows to return
offset
Type: integer (int32)
Row number to start from

Response

Supported Media Types
  • application/json
  • application/xml
200 Response
successful operation
Body
Model for paginated collections of data.
Root Schema : PageableCollectionGeneSetMembers
Type: object
Model for paginated collections of data.
Nested Schema : items
Type: array
A collection of paged items.
Nested Schema : GeneSetMembers
Type: object
400 Response
Invalid parameters supplied
404 Response
genes not found

Examples

The following example submits a GET request.

API URL

http://localhost:7001/HSDataService-web/api/3.2.0/geneSets/7

Example of Response Body

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

{
  "resourceType": "GeneSet",
  "items": [
    {
      "hugoName": "CICP27"
    },
    {
      "hugoName": "DDX11L1"
    },
    {
      "hugoName": "FAM138A"
    },
    {
      "hugoName": "MIR1302-10"
    },
    {
      "hugoName": "OR4F5"
    },
    {
      "hugoName": "OR4G11P"
    },
    {
      "hugoName": "OR4G4P"
    },
    {
      "hugoName": "RP11-34P13.7"
    },
    {
      "hugoName": "RP11-34P13.8"
    },
    {
      "hugoName": "WASH7P"
    }
  ],
  "count": 10,
  "hasMore": false,
  "links": [
    {
      "rel": "self",
      "href": "http:localhost:7001/HSDataService-web/api/3.2.0/geneSets/7"
    }
  ]
}