Is it possible to pass variable values to the REST endpoint for Release Management in VSTS? E.g. Calling PUT https://tfs.vsrm.visualstudio.com/defaultcollection/{project}/_apis/release/releases/30?api-version=3.0-preview.4 with the request of:
{
"id": 30,
"name": "Release-3",
"variables": {
"VariableName": {
"value": "testing123"
}
}
}
I somehow managed to get it to work if I call POST https://k2tfs.vsrm.visualstudio.com/density/_apis/release/releases/?api-version=3.0-preview.4 then take that response and use it in the request above. Is this the only way?