REST API JSON Permanently deleted user Created March 28, 2018 10:22 Hello.I'm trying to trigger a build using rest api with parameters, but I haven't found the example with json. Where I can find the example? Thanks.
You can simply convert the XML examples into json, or do a request for a "build" object from the server and use the response as a baseline. Here another example:
{"branchName":"dev","buildType":{"id":"<build_type_id>"}}
The best approach would be to replicate the structure with your own classes and simply use a json converter to convert the classes to json.
More information here: https://confluence.jetbrains.com/display/TCD10/REST+API#RESTAPI-TriggeringaBuild