File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,40 @@ paths:
211211 application/json :
212212 schema :
213213 $ref : ' #/components/schemas/ErrorResponse'
214+ /api/v1/check/{checkId} :
215+ get :
216+ summary : Get a check by ID
217+ description : Returns a check by ID
218+ operationId : getCheckById
219+ tags :
220+ - Checks
221+ parameters :
222+ - name : checkId
223+ in : path
224+ required : true
225+ description : The ID of the check
226+ schema :
227+ type : integer
228+ example : 53
229+ responses :
230+ ' 200 ' :
231+ description : A check
232+ content :
233+ application/json :
234+ schema :
235+ $ref : ' #/components/schemas/Check'
236+ ' 404 ' :
237+ description : Check not found
238+ content :
239+ application/json :
240+ schema :
241+ $ref : ' #/components/schemas/ErrorResponse'
242+ ' 500 ' :
243+ description : Internal server error
244+ content :
245+ application/json :
246+ schema :
247+ $ref : ' #/components/schemas/ErrorResponse'
214248 /api/v1/check :
215249 get :
216250 summary : List all checks
You can’t perform that action at this time.
0 commit comments