plugins/Jokes/settings/defaultsettings.ps1
[PSCustomObject]@{ # General "providername" = "PSChuckNorrisJokes" # API "base" = "api.chucknorris.io" # will be combined with the account domain "contentType" = "application/json; charset=utf-8" # content type string that is always used for API requests "pageSize" = 10 # if paging is used for the API requests, this is the default setting for a pagesize "additionalHeaders" = [PSCustomObject]@{ #"X-API" = "abcdef" } # static headers that should be send to the URL, sometimes needed for API gateways "additionalParameters" = [PSCustomObject]@{ #"Proxy" = "http://proxy.example.com" #"SkipHeaderValidation" = $true } # additional parameter for the Invoke-RestMethod call like Proxy or ProxyCredential, see https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod "logAPIrequests" = $true # log information like 'GET https://rest.cleverreach.com:443/v3/groups.json/1158984/stats' # API Authentication "login" = [PSCustomObject]@{ "refreshtoken" = "" "accesstoken" = "" } # Upload settings "upload" = [PSCustomObject]@{ } # Broadcast settings "broadcast" = [PSCustomObject]@{ } "preview" = [PSCustomObject]@{ } "responses" = [PSCustomObject]@{ } } |