Skip to content

[Feature][dolphinscheduler-api] support retrieve Status enum entity by StatusCode #7169

@ouyangyewei429

Description

@ouyangyewei429

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

In the third-party integrated scenario, got Result after calling the API, needs to obtain the specific Status according to the StatusCode

Use case

DELETE PROJECT API

Result:

{
    "code": 10018,
    "msg": "project 0 not found ",
    "data": null,
    "success": false,
    "failed": true
}

Get Status.PROJECT_NOT_FOUNT by StatusCode=10018

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions