dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[BUG] /dolphinscheduler/projects/create doesn't return project ID when create successfuly

Open GabrielWithTina opened this issue 6 years ago • 5 comments

Describe the bug V1.2.0, when invoke /dolphinscheduler/projects/create, it doesn't return project ID when create successfuly just return { "code": 0, "msg": "success", "data": null }

Expected behavior it should return project ID, otherwise, how can I build relationship between dolphin and my system.

Which version of Dolphin Scheduler: -[1.2.0]

Additional context Add any other context about the problem here.

**Requirement or improvement

  • Please fix this or tell me how to get project ID for newly created project.

GabrielWithTina avatar May 07 '20 08:05 GabrielWithTina

would you like to submit a PR to solve this problem?

davidzollo avatar May 08 '20 03:05 davidzollo

What puzzles me is, why do you need to return all the project information?

CalvinKirs avatar Mar 02 '21 05:03 CalvinKirs

I think just return the project ID.

zhuangchong avatar Mar 02 '21 05:03 zhuangchong

I think just return the project ID.

I think so too

CalvinKirs avatar Mar 02 '21 05:03 CalvinKirs

I think we'd better don't return all the infos of the created project,however, ID is the only field we need.

gabry-lab avatar Mar 02 '21 08:03 gabry-lab