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?
>
>
>
>
>
>
>------------------&nbsp;Original&nbsp;------------------
>From:&nbsp;"xia Yanick"<yanick....@gmail.com&gt;;
>Date:&nbsp;Wed, Dec 4, 2019 05:10 PM
>To:&nbsp;"dev"<dev@shardingsphere.apache.org&gt;;
>
>Subject:&nbsp;Re: [ShardingScaling][Discuss] Http request APIS about 
>shardingscaling
>
>
>
>HI Xiang:
>       how about that stop a job like:
>       
>       PUT /shardingscaling/job/<job_id&gt; 
>       Content-Type: application/json 
>       Body:&nbsp; { "status": "stop" }
>       
>
>
>&gt; On Dec 4, 2019, at 17:05, sushixiang <shixian...@qq.com&gt; wrote:
>&gt; 
>&gt;

Reply via email to