Details
-
Improvement
-
Status: In Progress (View Workflow)
-
Minor
-
Resolution: Unresolved
Description
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required".
Now the request body like :
{"id":"2", "parameters":[]}it works well, but the field "parameters" is not used.
I guess If we remove "parameters" like {"id":"2"}, The function can also work well.
Perhaps support both different struct is a better choice.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Description |
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check proceed, but it will be returned an error: "parameters is required" Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required" Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
Description |
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required" Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required". Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
Description |
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required". Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess remove "parameters" like \{"id":"2"} is more restful. |
A pipeline is pending, I just want to continue without any parameters, so I use pipeline API to check process, but it will be returned an error: "parameters is required". Now the request body like : {"id":"2", "parameters":[]} it works well, but the field "parameters" is not used. I guess If we remove "parameters" like \{"id":"2"}, The function can also work well. Perhaps support both different struct is a better choice. |