All URIs are relative to http://localhost/api/v1
| Method | HTTP request | Description |
|---|---|---|
| FindDistributions | Get /flags/{flagID}/segments/{segmentID}/distributions | |
| PutDistributions | Put /flags/{flagID}/segments/{segmentID}/distributions |
[]Distribution FindDistributions(ctx, flagID, segmentID)
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| flagID | int64 | numeric ID of the flag | |
| segmentID | int64 | numeric ID of the segment |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Distribution PutDistributions(ctx, flagID, segmentID, body)
replace the distribution with the new setting
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| flagID | int64 | numeric ID of the flag | |
| segmentID | int64 | numeric ID of the segment | |
| body | PutDistributionsRequest | array of distributions |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]