Agree. [PUT] /job/<job_id> with stop status in body is not as clear as using `stop` on uri directly, I think.
-- Yi Yang(Sion) Apache ShardingSphere At 2019-12-05 09:29:20, "sushixiang" <shixian...@qq.com> wrote: >Hi, PUT may be used for modification, but we really not modify anything. And I >think this may be not as straightforward as putting 'stop' in the url.What do >you think? > > > > > > >------------------ Original ------------------ >From: "xia Yanick"<yanick....@gmail.com>; >Date: Wed, Dec 4, 2019 05:10 PM >To: "dev"<dev@shardingsphere.apache.org>; > >Subject: Re: [ShardingScaling][Discuss] Http request APIS about >shardingscaling > > > >HI Xiang: > how about that stop a job like: > > PUT /shardingscaling/job/<job_id> > Content-Type: application/json > Body: { "status": "stop" } > > > >> On Dec 4, 2019, at 17:05, sushixiang <shixian...@qq.com> wrote: >> >>