Public/Article/Get-CRArticle.ps1

#TODO Requires testing
function Get-CRArticle {
    param (
        [string]$Condition,
        [string]$Direction,
        [string]$Filter,
        [string]$Order,
        [int]$Skip,
        [int]$Take,
        [string]$Value,
        [string]$ApiVersion = "1"
    )

    $query = @{
        Condition = $Condition
        Direction = $Direction
        Filter = $Filter
        Order = $Order
        Skip = $Skip
        Take = $Take
        Value = $Value
    }
    $headers = @{
        "x-api-version" = $ApiVersion
    }
    return Invoke-CRCloudRadialAPI -Method 'Get' -Path '/api/beta/article' -Query $query -Headers $headers
}