Data Connect API (1.0.0)

Download OpenAPI specification:Download

Data Connect Team: [email protected] License: Apache 2.0

Data Connect is a standard for discovery and search of biomedical data.

More information on GitHub.

Authentication

bearerAuth

Security Scheme Type HTTP
HTTP Authorization Scheme bearer

Table API

List Tables

Returns a list of Tables.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "tables": [
    ],
  • "pagination": {},
  • "errors": [
    ]
}

Get a Table

Returns the information about the Table identified by name.

Authorizations:
path Parameters
table_name
required
string

A table name

Responses

Response samples

Content type
application/json
{
  • "name": "my_catalog.some_schema.a_table",
  • "description": "string",
  • "data_model": null,
  • "errors": [
    ]
}

Fetch data from a Table

Returns the data of a Table

Authorizations:
path Parameters
table_name
required
string

A table name

Responses

Response samples

Content type
application/json
{
  • "data_model": null,
  • "data": [
    ],
  • "pagination": {},
  • "errors": [
    ]
}

Search API

Perform a search on Tables

Optional operation that accepts a SearchRequest and returns a TableData

Authorizations:
Request Body schema: application/json

Query to execute

query
required
string

Query in SQL. Supported SQL grammar, data types, and functions are described in the specification.

parameters
Array of any

Positional parameters for the query in query property.

Responses

Request samples

Content type
application/json
{
  • "query": "SELECT some_string, some_num FROM a_table WHERE some_string=? AND some_num=?",
  • "parameters": [
    ]
}

Response samples

Content type
application/json
{
  • "data_model": null,
  • "data": [
    ],
  • "pagination": {},
  • "errors": [
    ]
}

Service Info API

Show information about the Data Connect service

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "id": "org.ga4gh.myservice",
  • "name": "My project",
  • "type": {
    },
  • "description": "This service provides...",
  • "organization": {},
  • "contactUrl": "mailto:[email protected]",
  • "documentationUrl": "https://docs.myservice.example.com",
  • "createdAt": "2019-06-04T12:58:19Z",
  • "updatedAt": "2019-06-04T12:58:19Z",
  • "environment": "test",
  • "version": "1.0.0"
}