You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[**add_destination_to_audience**](ActivationsApi.md#add_destination_to_audience) | **POST** /spaces/{spaceId}/audiences/{audienceId}/destination-connections | Add Destination to Audience
9
9
[**get_activation_from_audience**](ActivationsApi.md#get_activation_from_audience) | **GET** /spaces/{spaceId}/audiences/{audienceId}/activations/{id} | Get Activation from Audience
10
10
[**list_activations_from_audience**](ActivationsApi.md#list_activations_from_audience) | **GET** /spaces/{spaceId}/audiences/{audienceId}/activations | List Activations from Audience
11
+
[**list_destinations_from_audience**](ActivationsApi.md#list_destinations_from_audience) | **GET** /spaces/{spaceId}/audiences/{audienceId}/destination-connections | List Destinations from Audience
11
12
[**remove_activation_from_audience**](ActivationsApi.md#remove_activation_from_audience) | **DELETE** /spaces/{spaceId}/audiences/{audienceId}/activations/{id} | Remove Activation from Audience
12
13
[**update_activation_for_audience**](ActivationsApi.md#update_activation_for_audience) | **PATCH** /spaces/{spaceId}/audiences/{audienceId}/activations/{id} | Update Activation for Audience
13
14
@@ -326,6 +327,84 @@ Name | Type | Description | Notes
326
327
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Lists all Destinations from an Audience. • This endpoint is in **Alpha** testing. Please submit any feedback by sending an email to [email protected]. • In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Please reach out to your customer success manager for more information. • When called, this endpoint may generate the `Destinations Listed from Audience` event in the [audit trail](/tag/Audit-Trail). The rate limit for this endpoint is 50 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
337
+
338
+
### Example
339
+
340
+
* Bearer Authentication (token):
341
+
```python
342
+
import time
343
+
import os
344
+
import segment_public_api
345
+
from segment_public_api.models.list_destinations_from_audience200_response import ListDestinationsFromAudience200Response
346
+
from segment_public_api.models.pagination_input import PaginationInput
347
+
from segment_public_api.rest import ApiException
348
+
from pprint import pprint
349
+
350
+
351
+
352
+
# Configure Bearer authorization: token
353
+
configuration = segment_public_api.Configuration(
354
+
access_token= os.environ["BEARER_TOKEN"]
355
+
)
356
+
357
+
# Enter a context with an instance of the API client
358
+
with segment_public_api.ApiClient(configuration) as api_client:
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: segment_public_api/__init__.py
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@
7
7
8
8
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
0 commit comments