History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-4138
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Nguyen Danh Hung
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Modify REST API response for better user experience

Created: 09/Dec/24 04:55 AM   Updated: 09/Dec/24 04:55 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Hello Mr. Robin Shen, Mr. Steve Luo,

Could you please modify REST API to return the response code for the correct scenario?
Here are some cases
/rest/builds/{invalid_build_id}
/rest/ids?request_id={invalid_request_id}
/rest/files/artifacts/{invalid_build_id}
/rest/configurations?parent_id={blank}
/rest/configurations/{invalid_build_id}
-> return 404/400 instead of 500 when can not find build
Thank you.

 All   Comments   Work Log   Change History      Sort Order:
No changes have yet been made on this issue.