Hey All,
Version 1.8.1
I am setting the duration for png images in one of my layouts.
Now the API call i make successfully changes the duration and updates it in the layout\widget as per the body of my request:
$Durationbody = @{
“name” = “$Name”
“duration” = “30”
“retired” = “0”
“updateInLayouts” = “1”
}
the call i am making is:
invoke-webrequest -Method PUT -Uri “WEBADDRESS/api/library/$mediaid” -Headers $Durationhead -Body $Durationbody
Everything seems to work fine. The only things i cant quite get is the ‘Set a duration’ tick box doesn’t get ticked in the widget edit image section.
Is this a bug or am i not making the correct URI call?
Thanks heaps,
Sam