Configure Algorithm distribution
https://api.ocamba.com/v2/adex/zones/{zone_id}/distribute-search-algos
https://api.ocamba.com/v2/adex/zones/{zone_id}/distribute-search-algos
Configures the distribution for Algorithms
Name
Descriptionzone_idstringrequired
Unique zone identifier.Example: zone_id=1000001
Name
Descriptionalgo_distribution[ search-algo ]
Array of Search algorithm distribution objects.Algorithm distribute
Name
Descriptionidnumber
Search algorithm id.Example: 1000049
ratenumber
Describes the distribution rate of a Search algorithm. Minimum value is 0, maximum value is 100.Example: 100
statusstring
Describes the status of a Search algorithm. Possible values are active and inactive.Example: active
Possible values: active | inactive
distributenumber (int)
Describes the status of Algorithm distribution, 0 - distribution is off 1 - distribution is on.Example: 1
Possible values: 0 | 1
204 - No Content
tip
1 If you don't know the zone id, list the zones to find it.
2 If you don't know the search algorithm id, list the search algorithm to find it.
note
1 Sum of distribution rates across all active algorithms must be 100.