ServSwitch iPATH Manager API Documentation
-count_active_cp (the number of
-connected_rx_count (the number of receivers in this preset that are already connected)
-view_button (disabled/enabled/hidden - whether the user can connect to the preset in
-shared_button (disabled/enabled/hidden - as above, but in shared mode)
-exclusive_button (disabled/enabled/hidden - as above, but in exclusive mode)
Examples
Input:
/api/?v=1&method=get_presets&token=xxxxx
Output:
<api_response> <version>1</version>
<page>1</page>
<results_per_page>10</results_per_page> <total_presets>2</total_presets> <count_presets>2</count_presets> <connection_preset item="1">
<cp_id>3</cp_id>
<cp_name>Preset 1</cp_name>
<cp_description>Description for Preset 1</cp_description> <cp_pairs>1</cp_pairs>
<problem_cp_pairs/> <count_active_cp/> <connected_rx_count>1</connected_rx_count> <view_button>disabled</view_button> <shared_button>disabled</shared_button> <exclusive_button>disabled</exclusive_button>
</connection_preset> <connection_preset item="2">
<cp_id>4</cp_id>
<cp_name>Preset 2</cp_name>
<cp_description>Description for Preset 2</cp_description> <cp_pairs>2</cp_pairs>
<problem_cp_pairs/> <count_active_cp/> <connected_rx_count/> <view_button>enabled</view_button> <shared_button>hidden</shared_button> <exclusive_button>hidden</exclusive_button>
</connection_preset> </api_response>
Page 10 |