When create job, the job_id do not generate, so can't input <job_id>.


Progress is part information of job, so I think progress word show in url is 
better.




--

Yi Yang(Sion)
Apache ShardingSphere



At 2019-12-04 16:31:34, "xia Yanick" <yanick....@gmail.com> wrote:
>Hi Xiang:
>       That's exactly what I needed,  otherwise, do you want like a restful 
> style?
>       
>       create a job:                   /shardingscaling/job/<job_id> [POST]
>       query a job status:             /shardingscaling/job/<job_id> [GET]
>       stop a job                      /shardingscaling/job/<job_id> [DELETE]
>
>
>
>
>> On Dec 4, 2019, at 16:18, sushixiang <shixian...@qq.com> wrote:
>> 
>> Hi, everybody:
>> 
>> 
>> Http request apis will be provided for shardingscaling to let people easily 
>> manager the scaling job.
>> 
>> 
>> Here are the definitions of such apis:
>> 
>> 
>> /shardingscaling/job/start [POST]
>> /shardingscaling/job/progress/${jobId} [GET]
>> /shardingscaling/job/stop [POST]
>> 
>> 
>> 
>> Above apis will be used for starting job, get job process and stop job 
>> respectively.
>> 
>> 
>> Here are the related issue and pr:
>> [1] https://github.com/apache/incubator-shardingsphere/issues/3256
>> [2] https://github.com/apache/incubator-shardingsphere/pull/3656
>> 
>> 
>> Comments or Suggestions on it are welcome!&nbsp;
>> 
>> 
>> 
>> Thanks!
>

Reply via email to