|
5 | 5 |
|
6 | 6 | 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. |
7 | 7 |
|
8 | | - The version of the OpenAPI document: 66.0.0 |
| 8 | + The version of the OpenAPI document: 67.0.0 |
9 | 9 | Contact: friends@segment.com |
10 | 10 | Generated by OpenAPI Generator (https://openapi-generator.tech) |
11 | 11 |
|
@@ -1500,7 +1500,7 @@ def list_audience_schedules_from_space_and_audience_with_http_info(self, space_i |
1500 | 1500 | def list_audiences(self, space_id : constr(strict=True), search : Annotated[Optional[ListAudienceSearchInput], Field(description="Optional search criteria This parameter exists in alpha.")] = None, pagination : Annotated[Optional[ListAudiencesPaginationInput], Field(description="Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha.")] = None, include : Annotated[Optional[StrictStr], Field(description="Additional resource to include, support schedules only. This parameter exists in alpha.")] = None, **kwargs) -> ListAudiences200Response: # noqa: E501 |
1501 | 1501 | """List Audiences # noqa: E501 |
1502 | 1502 |
|
1503 | | - Returns Audiences by spaceId. Supports including audience schedules using `?include=schedules`. • This endpoint is in **Beta** testing. Please submit any feedback by sending an email to friends@segment.com. • 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. The rate limit for this endpoint is 60 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. # noqa: E501 |
| 1503 | + Returns Audiences by spaceId. Supports including audience schedules using `?include=schedules`. • 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. The rate limit for this endpoint is 60 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. # noqa: E501 |
1504 | 1504 | This method makes a synchronous HTTP request by default. To make an |
1505 | 1505 | asynchronous HTTP request, please pass async_req=True |
1506 | 1506 |
|
@@ -1536,7 +1536,7 @@ def list_audiences(self, space_id : constr(strict=True), search : Annotated[Opti |
1536 | 1536 | def list_audiences_with_http_info(self, space_id : constr(strict=True), search : Annotated[Optional[ListAudienceSearchInput], Field(description="Optional search criteria This parameter exists in alpha.")] = None, pagination : Annotated[Optional[ListAudiencesPaginationInput], Field(description="Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha.")] = None, include : Annotated[Optional[StrictStr], Field(description="Additional resource to include, support schedules only. This parameter exists in alpha.")] = None, **kwargs) -> ApiResponse: # noqa: E501 |
1537 | 1537 | """List Audiences # noqa: E501 |
1538 | 1538 |
|
1539 | | - Returns Audiences by spaceId. Supports including audience schedules using `?include=schedules`. • This endpoint is in **Beta** testing. Please submit any feedback by sending an email to friends@segment.com. • 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. The rate limit for this endpoint is 60 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. # noqa: E501 |
| 1539 | + Returns Audiences by spaceId. Supports including audience schedules using `?include=schedules`. • 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. The rate limit for this endpoint is 60 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. # noqa: E501 |
1540 | 1540 | This method makes a synchronous HTTP request by default. To make an |
1541 | 1541 | asynchronous HTTP request, please pass async_req=True |
1542 | 1542 |
|
@@ -1634,7 +1634,7 @@ def list_audiences_with_http_info(self, space_id : constr(strict=True), search : |
1634 | 1634 | _body_params = None |
1635 | 1635 | # set the HTTP header `Accept` |
1636 | 1636 | _header_params['Accept'] = self.api_client.select_header_accept( |
1637 | | - ['application/vnd.segment.v1beta+json', 'application/vnd.segment.v1alpha+json', 'application/json']) # noqa: E501 |
| 1637 | + ['application/vnd.segment.v1+json', 'application/json', 'application/vnd.segment.v1beta+json', 'application/vnd.segment.v1alpha+json']) # noqa: E501 |
1638 | 1638 |
|
1639 | 1639 | # authentication setting |
1640 | 1640 | _auth_settings = ['token'] # noqa: E501 |
|
0 commit comments