@@ -161,70 +161,6 @@ paths:
161
161
application/json :
162
162
schema :
163
163
type : string
164
- # # need to remove the extra stuff from server url to use this endpoint..
165
- # # example: https://api.bte.ncats.io/check_query_status/{id}
166
- # # not TRAPI spec: BTE-specific endpoint related to asyncquery
167
- # /check_query_status/{id}:
168
- # ## moved because smartapi-editor gave alert that a non-existent post endpoint wouldn't know what {id} is
169
- # parameters:
170
- # - description: job-id
171
- # in: path
172
- # name: id
173
- # required: true
174
- # ## Cache refreshing means this will be changing pretty often, so not including an example
175
- # schema:
176
- # type: string
177
- # get:
178
- # tags:
179
- # - asyncquery_status
180
- # summary: >-
181
- # This endpoint can be used when a Query was sent to BTE through an /asyncquery
182
- # endpoint without a callback property: BTE then handled it in a polling manner and
183
- # provided a job id. The job id can be used here to check the status or retrieve
184
- # the Response.
185
- # parameters:
186
- # - description: option to override original query log level
187
- # in: query
188
- # name: log_level
189
- # required: false
190
- # schema:
191
- # type: string
192
- # description: >-
193
- # Logging level. The order of priority is ERROR, WARNING, INFO, DEBUG. BTE will return all logs at the
194
- # specified level and those at higher priority levels
195
- # enum:
196
- # - ERROR
197
- # - WARNING
198
- # - INFO
199
- # - DEBUG
200
- # responses:
201
- # '200':
202
- # description: Returns status. If successfully completed, it will return a TRAPI Response object under the field returnvalue
203
- # content:
204
- # application/json:
205
- # schema:
206
- # type: object
207
- # required:
208
- # - id
209
- # - state
210
- # properties:
211
- # id:
212
- # description: the job-id
213
- # type: string
214
- # state:
215
- # description: the status of the job
216
- # reason:
217
- # description: when the state is 'failed', this field states a reason for the failure
218
- # type: string
219
- # returnvalue:
220
- # ## returnvalue.response is where the TRAPI Response is
221
- # description: >-
222
- # When the state is 'completed', this will contain the TRAPI Response object. Note
223
- # that BTE might return an error, no results, etc as a Response...
224
- # type: object
225
- # properties:
226
- # response:
227
- # $ref: '#/components/schemas/Response'
228
164
# # copied from BTE's /asyncquery and modified summary
229
165
/asyncquery :
230
166
post :
0 commit comments