-
Notifications
You must be signed in to change notification settings - Fork 31
/
openapi_minimum.yml
143 lines (143 loc) · 5.88 KB
/
openapi_minimum.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
openapi: '3.0.0'
info:
version: '1.0'
title: MyVariant.info API
description: >-
Documentation of the MyVariant.info Variant Query web services. Learn more about
[MyVariant.info](http://myvariant.info/)
termsOfService: http://myvariant.info/terms/
contact:
name: Chunlei Wu
x-role: responsible developer
email: [email protected]
x-id: 'https://github.com/newgene'
x-translator:
component: KP
team:
- Service Provider
servers:
- url: 'http://myvariant.info/v1'
description: 'Production server'
tags:
- name: variant
- name: annotation
- name: query
- name: translator
paths:
/query:
get:
summary: 'Make variant query and return matching variant hits'
parameters:
- name: q
in: query
description: >-
Query string. Examples "rs752396467", "possibly_damaging", "CDK7".
required: true
x-valueType:
- 'http://identifiers.org/hgnc.symbol/'
- 'http://identifiers.org/dbsnp/'
- 'http://identifiers.org/ensembl.gene/'
- 'http://identifiers.org/ensembl.transcript/'
- 'http://identifiers.org/ensembl.protein/'
- 'http://identifiers.org/ccds/'
- 'http://identifiers.org/uniprot/'
- 'http://identifiers.org/clinvar/'
- 'http://identifiers.org/omim/'
- 'http://identifiers.org/efo/'
- 'http://identifiers.org/orphanet/'
- 'http://identifiers.org/hgnc/'
- 'http://identifiers.org/pubmed/'
- 'http://identifiers.org/refseq/'
- 'http://identifiers.org/clinicalsignificance/'
schema:
type: string
responses:
'200':
description: 'A query response object with "hits" property'
x-responseValueType:
- path: _id
valueType: 'http://identifiers.org/hgvs/'
- path: cadd.gene.genename
valueType: 'http://identifiers.org/hgnc.symbol/'
- path: clinvar.rsid
valueType: 'http://identifiers.org/dbsnp/'
- path: cadd.gene.gene_id
valueType: 'http://identifiers.org/ensembl.gene/'
- path: cadd.gene.feature_id
valueType: 'http://identifiers.org/ensembl.transcript/'
- path: cadd.gene.ccds_id
valueType: 'http://identifiers.org/ccds/'
- path: clinvar.uniprot
valueType: 'http://identifiers.org/uniprot/'
- path: clinvar.omim
valueType: 'http://identifiers.org/omim/'
- path: clinvar.rcv.accession
valueType: 'http://identifiers.org/clinvar/'
- path: clinvar.rcv.conditions.identifiers.omim
valueType: 'http://identifiers.org/omim/'
- path: clinvar.rcv.conditions.identifiers.efo
valueType: 'http://identifiers.org/efo/'
- path: clinvar.rcv.conditions.identifiers.orphanet
valueType: 'http://identifiers.org/orphanet/'
- path: clinvar.gene.id
valueType: 'http://identifiers.org/hgnc/'
- path: dbnsfp.ensembl.proteinid
valueType: 'http://identifiers.org/ensembl.protein/'
- path: docm.pubmed_id
valueType: 'http://identifiers.org/pubmed/'
- path: evs.gene.accession
valueType: 'http://identifiers.org/refseq/'
- path: clinvar.rcv.clinical_significance
valueType: 'http://identifiers.org/clinicalsignificance/'
x-JSONLDContext:
https://github.com/NCATS-Tangerine/translator-api-registry/blob/master/myvariant.info/jsonld_context/myvariant_context.json
'/variant/{variantid}':
get:
summary: 'For a given variant id, return the matching variant object'
parameters:
- name: variantid
in: path
description: >-
Variant HGVS ID, dbSNP ID
required: true
x-valueType:
- 'http://identifiers.org/hgvs/'
- 'http://identifiers.org/dbsnp/'
schema:
type: string
responses:
'200':
description: 'A variant object'
x-responseValueType:
- path: cadd.gene.genename
valueType: 'http://identifiers.org/hgnc.symbol/'
- path: clinvar.rsid
valueType: 'http://identifiers.org/dbsnp/'
- path: cadd.gene.gene_id
valueType: 'http://identifiers.org/ensembl.gene/'
- path: cadd.gene.feature_id
valueType: 'http://identifiers.org/ensembl.transcript/'
- path: cadd.gene.ccds_id
valueType: 'http://identifiers.org/ccds/'
- path: clinvar.uniprot
valueType: 'http://identifiers.org/uniprot/'
- path: clinvar.rcv.accession
valueType: 'http://identifiers.org/clinvar/'
- path: clinvar.rcv.conditions.identifiers.omim
valueType: 'http://identifiers.org/omim/'
- path: clinvar.rcv.conditions.identifiers.efo
valueType: 'http://identifiers.org/efo/'
- path: clinvar.rcv.conditions.identifiers.orphanet
valueType: 'http://identifiers.org/orphanet/'
- path: clinvar.gene.id
valueType: 'http://identifiers.org/hgnc/'
- path: dbnsfp.ensembl.proteinid
valueType: 'http://identifiers.org/ensembl.protein/'
- path: docm.pubmed_id
valueType: 'http://identifiers.org/pubmed/'
- path: evs.gene.accession
valueType: 'http://identifiers.org/refseq/'
- path: clinvar.rcv.clinical_significance
valueType: 'http://identifiers.org/clinicalsignificance/'
x-JSONLDContext:
'https://github.com/NCATS-Tangerine/translator-api-registry/blob/master/myvariant.info/jsonld_context/myvariant_context.json'