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

Key: QB-3296
Type: Improvement Improvement
Status: Open Open
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: Yesterday 10:25 AM
Component/s: None
Affects Version/s: 8.0.26
Fix Version/s: None

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.

SH [16/Apr/19 01:26 AM]
Many other related systems request us to provide json formatted info from QB.
Please support this!!

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