Generally, projects and processes are created through pages, but considering the integration with third-party systems requires API calls to manage projects and workflows.
Token
string, and click "Submit".Address:http://{API server ip}:12345/dolphinscheduler/doc.html?language=en_US&lang=en
select a test API, the API selected for this test is queryAllProjectList
projects/list
Open Postman
, fill in the API address, enter the Token
in Headers
, and then send the request to view the result:
token: The Token just generated
This demonstrates how to use the calling api to create the corresponding project.
By consulting the api documentation, configure the KEY as Accept and VALUE as the parameter of application/json in the headers of Postman.
And then configure the required projectName and description parameters in Body.
Check the post request result.
The returned msg
information is "success", indicating that we have successfully created the project through API.
If you are interested in the source code of creating a project, please continue to read the following: