@@ -2,7 +2,7 @@ openapi: 3.0.3
22info :
33 title : ARD Reduction
44 description : Reduce to ARD Level
5- version : " 1.5.2 "
5+ version : " 1.5.3 "
66servers :
77 - url : ' http://localhost:8080'
88tags :
@@ -36,22 +36,35 @@ paths:
3636 application/json :
3737 schema :
3838 properties :
39- ipd-version :
39+ ipd_version :
4040 description : IPD-IMGT/HLA DB Version
4141 type : integer
42- example : 3560
43- py-ard-version :
42+ example : 3580
43+ pyard_version :
4444 description : py-ard library version
4545 type : string
46- example : " 1.2.1 "
46+ example : " 1.5.0 "
4747 /redux :
4848 post :
4949 tags :
5050 - ARD Reduction
5151 operationId : api.redux_controller
52- summary : Reduce to ARD
52+ summary : Reduce GL String at various level
5353 description : |
54- Given a GL String and a reduction method perform ARD Reduction
54+ Given a GL String and a reduction method perform Reduction.
55+
56+ Valid Reduction Method:
57+ | Reduction Type | Description |
58+ |----------------|-----------------------------------------------------------|
59+ | `G` | Reduce to G Group Level |
60+ | `P` | Reduce to P Group Level |
61+ | `lg` | Reduce to 2 field ARD level (append `g`) |
62+ | `lgx` | Reduce to 2 field ARD level |
63+ | `W` | Reduce/Expand to full field(4,3,2) WHO nomenclature level |
64+ | `exon` | Reduce/Expand to 3 field level |
65+ | `U2` | Reduce to 2 field unambiguous level |
66+ | `S` | Reduce to Serological level |
67+
5568 requestBody :
5669 content :
5770 application/json :
@@ -97,6 +110,58 @@ paths:
97110 description : Describes what went wrong
98111 type : string
99112 example : " Invalid HLA locus"
113+ /ard/{allele} :
114+ get :
115+ tags :
116+ - ARD Reduction
117+ operationId : api.lgx_controller
118+ summary : Reduce to ARD
119+ description : |
120+ Get ARD Reduction for an Allele
121+ parameters :
122+ - name : allele
123+ in : path
124+ description : An allele or MAC
125+ required : true
126+ schema :
127+ type : string
128+ example : " DPA1*02:07:01"
129+ responses :
130+ 200 :
131+ description : ARD Reduction Result
132+ content :
133+ application/json :
134+ schema :
135+ type : object
136+ properties :
137+ allele :
138+ description : Allele
139+ type : string
140+ example : " DPA1*02:07:01"
141+ ard :
142+ description : ARD version
143+ type : string
144+ example : " DPA1*02:02"
145+ ipd_version :
146+ description : IPD-IMGT/HLA DB Version
147+ type : integer
148+ example : 3580
149+ pyard_version :
150+ description : py-ard library version
151+ type : string
152+ example : " 1.2.1"
153+
154+ 400 :
155+ description : Invalid Allele
156+ content :
157+ application/json :
158+ schema :
159+ type : object
160+ properties :
161+ message :
162+ description : Describes what went wrong
163+ type : string
164+ example : " Invalid HLA locus"
100165 /cwd-redux :
101166 post :
102167 tags :
0 commit comments