向现有API添加取消REST API函数
我正在开发一个现有的REST API,该API具有以下用于获取某些任务状态的API:向现有API添加取消REST API函数,rest,swagger,api-design,Rest,Swagger,Api Design,我正在开发一个现有的REST API,该API具有以下用于获取某些任务状态的API: GET /Status <-- Returns json array of status of all running tasks GET /Status/{TaskID} <-- Returns json Status="blah" item of status of task with TaskID 还是 还是别的什么?我想 DELETE
GET /Status <-- Returns json array of status of all running tasks
GET /Status/{TaskID} <-- Returns json Status="blah" item of status of task with TaskID
还是
还是别的什么?我想
DELETE /Task/{TaskID}
我想
DELETE /Task/{TaskID}
是否有用于取消的有效载荷?是否有用于取消的有效载荷?
DELETE /Task/{TaskID}