Deployment URL not returned in API response
Tom Henderson
Posted on
Apr 16 2024
We've been using this powershell to create deployments for a long time. At some point in the last few weeks the response stopped returning the url
property, which we use to get a link back to the latest deployment.
$body = ConvertTo-Json @{
apiKey = $apiKey
version = "0.0.1"
ownerName = "Tom Henderson"
emailAddress = "tom@example.com"
comment = "Hello world"
}
$url = "https://app.raygun.io/deployments?authToken=$authToken"
$deploy = Invoke-RestMethod -Uri $url -Body $body -Method Post -ContentType "application/json"
$deploy.url # <- This is now empty
Is this an expected change? The JSON response does still include the url
key, it just no longer has a value.
I'm aware that this is an older API endpoint - is it still supported?
Deleted User
Raygun
Posted on
Apr 17 2024
Hi Tom,
That's definitely not an intentional change, and thanks for letting us know.
I've found an issue on our side and will push out a fix for this now.
Thanks, Sean