distchannel
Description
Provides methods to access and modify distribution channel information
Namespace:
distchannel
Method: listDefaultMaps
HTTP GET
Description:
Lists the default distribution channel maps
Parameters:
-
string sessionKey
Returns:
-
array :
-
struct distribution channel map
-
string "os" - operating system
-
string "release" - OS Relase
-
string "arch_name" - channel architecture
-
string "channel_label" - channel label
-
string "org_specific" - 'Y' organization specific, 'N' default
-
Method: listMapsForOrg
HTTP GET
Description:
Lists distribution channel maps valid for the user’s organization
Parameters:
-
string sessionKey
Returns:
-
array :
-
struct distribution channel map
-
string "os" - operating system
-
string "release" - OS Relase
-
string "arch_name" - channel architecture
-
string "channel_label" - channel label
-
string "org_specific" - 'Y' organization specific, 'N' default
-
Method: listMapsForOrg
HTTP GET
Description:
Lists distribution channel maps valid for an organization, #product() admin rights needed.
Parameters:
-
string sessionKey
-
int orgId
Returns:
-
array :
-
struct distribution channel map
-
string "os" - operating system
-
string "release" - OS Relase
-
string "arch_name" - channel architecture
-
string "channel_label" - channel label
-
string "org_specific" - 'Y' organization specific, 'N' default
-
Method: setMapForOrg
HTTP POST
Description:
Sets, overrides (/removes if channelLabel empty) a distribution channel map within an organization
Parameters:
-
string sessionKey
-
string os
-
string release
-
string archName
-
string channelLabel
Returns:
-
int - 1 on success, exception thrown otherwise.