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

Key: QB-3296
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Jerry Lee
Votes: 6
Watchers: 1
Operations

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

To support json rest api.

Created: 20/Nov/18 03:57 AM   Updated: 18/Mar/20 12:37 AM
Component/s: None
Affects Version/s: 8.0.26
Fix Version/s: 10.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Any OS which can support curl.


 Description  « Hide
QuickBuild doesn't support json rest api, now.
I found the documentation of RESTful API regarding 'Interact with Build Requests' like shown below.
---
Since QuickBuild 6.0.14, one can also trigger new build via GET request by accessing below url:
http://localhost:8810/rest/trigger?configuration_id=
Where should be replaced with identifier of a configuration. The response is of mime type text/plain and the content is XML representation of newly created request result. Note that this approach does not accept variables or promotions information.
---
Why don't you add json rest api feature in QB?
If QB supports it, people can make an build request more easily with some variables for specified configuration without creating xml file.

For example,
$ curl -X POST http://localhost:8810/rest/trigger -H "Content-Type: application/json" -d '{"configuration": "1234", "var1": "var1_value"}'

 All   Comments   Work Log   Change History      Sort Order:
Klaus Youm [16/Apr/19 12:24 AM]
Dear Robin,

We also need JSON formatted response. Could you check this feature to improve current 9.0 version or next major version, kindly?

Regards,
Klaus.


Alexey Shumkin [18/Apr/19 10:25 AM]
I also request the feature

Klaus Youm [16/May/19 08:57 AM]
Dear Robin,

Could you share your plan to improve our QuickBuild, please? We are totally looking forward to hearing any updates for this improvement.

Regards,
Klaus.

Robin Shen [16/May/19 10:55 PM]
The change is not trivial and we plan to deliver this in QB10 which will be available early 2020.