Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

rest-server api: submit(create) a job should return the created job #1629

Closed
hao1939 opened this issue Oct 30, 2018 · 1 comment
Closed

rest-server api: submit(create) a job should return the created job #1629

hao1939 opened this issue Oct 30, 2018 · 1 comment

Comments

@hao1939
Copy link
Contributor

hao1939 commented Oct 30, 2018

As restful verbs defined, rest-server should better return the created object for a 'create/update' operation.

Now the submit job api POST /api/v1/user/:username/jobs returns:

{
  "message": "update job $jobName successfully"
}
@scarlett2018
Copy link
Member

As restful verbs defined, rest-server should better return the created object for a 'create/update' operation.

Now the submit job api POST /api/v1/user/:username/jobs returns:

{
  "message": "update job $jobName successfully"
}

Combine with #2315 which is planned in 0.12.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants