Closed Dalmirog-zz closed 8 years ago
For the time being I would recomend the user following the Variables
link in the Deployment resource. In this case to /api/variables/variableset-Deployments-359
. Where you can see the variables for that deployment including those provided in prompt.
...
{
"Id": "9d55dd42-49a4-b957-81a4-bf7565f0a1cc",
"Name": "Blah",
"Value": "I AM A BLAH!!",
"Scope": { "Project": [ "Projects-2" ], "User": [ "True" ] },
"IsSensitive": false,
"IsEditable": false,
"Prompt": {
"Label": "Blah",
"Description": "Tell me whats the blah?",
"Required": false
}
},
{
"Id": "adf24afd-1902-4654-a8bb-18d302c45eea",
"Name": "Octopus.Release.Previous.Id",
...
The alternative is to pull down and query the variables each time the deployment is requested which is more DB hits.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our support team so we can triage your issue, and make sure it's handled appropriately.
Even if the deployment had prompted values, when retrieving the resource from the API the formvalues property is always an empty collection:
/api/deployments/Deployments-359