updated CreateDeployTask api
This commit is contained in:
parent
ae411caf7a
commit
fb4fc498ca
|
@ -973,7 +973,7 @@ service pcm {
|
|||
get /inference/getDeployTasksByType (GetDeployTasksByTypeReq) returns (GetDeployTasksByTypeResp)
|
||||
|
||||
@handler CreateDeployTask
|
||||
get /inference/createDeployTask (CreateDeployTaskReq) returns (CreateDeployTaskResp)
|
||||
post /inference/createDeployTask (CreateDeployTaskReq) returns (CreateDeployTaskResp)
|
||||
|
||||
@handler GetAdaptersByModel
|
||||
get /inference/getAdaptersByModel (GetAdaptersByModelReq) returns (GetAdaptersByModelResp)
|
||||
|
|
|
@ -1234,7 +1234,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|||
Handler: inference.GetDeployTasksByTypeHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Method: http.MethodPost,
|
||||
Path: "/inference/createDeployTask",
|
||||
Handler: inference.CreateDeployTaskHandler(serverCtx),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue