public list_streaming_profiles ( array $options = [] ) : |
||
$options | array | options |
return | An array with a "data" key for results |
function list_streaming_profiles($options = array())
{
return $this->call_api("get", array("streaming_profiles"), array(), $options);
}
function test_list_streaming_profile() { $result = $this->api->list_streaming_profiles(); $names = array_map(function ($profile) { return $profile["name"]; }, $result["data"]); $this->assertEmpty(array_diff(self::$predefined_profiles, $names)); }