File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed
specs/predict/paths/models
tests/CTS/methods/requests/predict Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 52
52
updatedAt :
53
53
type : string
54
54
description : The time the model was updated.
55
+ required :
56
+ - modelID
57
+ - updatedAt
55
58
56
59
' 401 ' :
57
60
$ref : ' ../../responses/InvalidCredentials.yml'
Original file line number Diff line number Diff line change 53
53
updatedAt :
54
54
type : string
55
55
description : The time the model was updated.
56
+ required :
57
+ - modelID
58
+ - updatedAt
59
+ ' 401 ' :
60
+ $ref : ' ../../responses/InvalidCredentials.yml'
61
+ ' 404 ' :
62
+ $ref : ' ../../responses/ModelNotFound.yml'
63
+ ' 422 ' :
64
+ $ref : ' ../../../common/responses/UnprocessableEntity.yml'
65
+ ' 500 ' :
66
+ $ref : ' ../../../common/responses/InternalError.yml'
67
+
68
+ delete :
69
+ tags :
70
+ - models
71
+ operationId : deleteModelInstance
72
+ summary : Delete a model instance.
73
+ description : Delete the model’s configuration, pipelines and generated predictions.
74
+ parameters :
75
+ - $ref : ' ../../common/parameters.yml#/modelID'
76
+ responses :
77
+ ' 200 ' :
78
+ description : OK
79
+ content :
80
+ application/json :
81
+ schema :
82
+ title : deleteModelInstanceResponse
83
+ type : object
84
+ additionalProperties : false
85
+ properties :
86
+ modelID :
87
+ type : string
88
+ description : The ID of the model.
89
+ deletedUntil :
90
+ type : string
91
+ description : The date until which you can safely consider the data as being deleted.
92
+ required :
93
+ - modelID
94
+ - deletedUntil
56
95
' 401 ' :
57
96
$ref : ' ../../responses/InvalidCredentials.yml'
58
97
' 404 ' :
Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "testName" : " delete a model instance" ,
4
+ "parameters" : {
5
+ "modelID" : " model1"
6
+ },
7
+ "request" : {
8
+ "path" : " /1/predict/models/model1" ,
9
+ "method" : " DELETE"
10
+ }
11
+ }
12
+ ]
You can’t perform that action at this time.
0 commit comments