developer/api/v1/logs/Get-LogMessageList.ps1
function Get-LogMessageList { param( [Parameter(Mandatory)] [hashtable] $Options ) $query = "" foreach($option in $Options.GetEnumerator()) { $query += '&$' + "$($option.Key)=$($option.Value)" } $query = $query -replace "^&", "?" return Invoke-Api Get "/developer/api/v1/logs/$query" } |