diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5c56fcb1aa7..42b12a3fb05 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -62417,6 +62417,39 @@ paths: get: description: Returns a list of org connections. operationId: ListOrgConnections + parameters: + - description: The Org ID of the sink org. + example: 0879ce27-29a1-481f-a12e-bc2a48ec9ae1 + in: query + name: sink_org_id + required: false + schema: + type: string + - description: The Org ID of the source org. + example: 0879ce27-29a1-481f-a12e-bc2a48ec9ae1 + in: query + name: source_org_id + required: false + schema: + type: string + - description: The limit of number of entries you want to return. Default is + 1000. + example: 1000 + in: query + name: limit + required: false + schema: + format: int64 + type: integer + - description: The pagination offset which you want to query from. Default is + 0. + example: 0 + in: query + name: offset + required: false + schema: + format: int64 + type: integer responses: '200': content: diff --git a/CHANGELOG.md b/CHANGELOG.md index a7119944421..b5ef9be1b07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # CHANGELOG +## 2.42.0/2025-09-15 + +### Added +* Add Query Parameters to ListOrgConnections Endpoint [#2663](https://github.com/DataDog/datadog-api-client-ruby/pull/2663) +* Add Incident Notification Rules Public Spec [#2658](https://github.com/DataDog/datadog-api-client-ruby/pull/2658) +* Update v1 and v2 GCP API specs to support `monitored_resource_configs` [#2656](https://github.com/DataDog/datadog-api-client-ruby/pull/2656) +* Add action datastore API [#2636](https://github.com/DataDog/datadog-api-client-ruby/pull/2636) +* Security Monitoring - Make hasOptionalGroupByFields updatable [#2594](https://github.com/DataDog/datadog-api-client-ruby/pull/2594) + +### Deprecated +* Promote unstable aws v2 APIs and deprecate v1 [#2655](https://github.com/DataDog/datadog-api-client-ruby/pull/2655) + +### Changed +* Allow to send batches of events in pipelines API [#2639](https://github.com/DataDog/datadog-api-client-ruby/pull/2639) + ## 2.41.0/2025-09-09 ### Added diff --git a/features/scenarios_model_mapping.rb b/features/scenarios_model_mapping.rb index 60b68dc1952..a6a1bc93e8c 100644 --- a/features/scenarios_model_mapping.rb +++ b/features/scenarios_model_mapping.rb @@ -2385,6 +2385,12 @@ "v2.UploadIdPMetadata" => { "idp_file" => "File", }, + "v2.ListOrgConnections" => { + "sink_org_id" => "String", + "source_org_id" => "String", + "limit" => "Integer", + "offset" => "Integer", + }, "v2.CreateOrgConnections" => { "body" => "OrgConnectionCreateRequest", }, diff --git a/lib/datadog_api_client/v2/api/org_connections_api.rb b/lib/datadog_api_client/v2/api/org_connections_api.rb index 98d84facb41..6737eb5eb34 100644 --- a/lib/datadog_api_client/v2/api/org_connections_api.rb +++ b/lib/datadog_api_client/v2/api/org_connections_api.rb @@ -168,6 +168,10 @@ def list_org_connections(opts = {}) # Returns a list of org connections. # # @param opts [Hash] the optional parameters + # @option opts [String] :sink_org_id The Org ID of the sink org. + # @option opts [String] :source_org_id The Org ID of the source org. + # @option opts [Integer] :limit The limit of number of entries you want to return. Default is 1000. + # @option opts [Integer] :offset The pagination offset which you want to query from. Default is 0. # @return [Array<(OrgConnectionListResponse, Integer, Hash)>] OrgConnectionListResponse data, response status code and response headers def list_org_connections_with_http_info(opts = {}) @@ -179,6 +183,10 @@ def list_org_connections_with_http_info(opts = {}) # query parameters query_params = opts[:query_params] || {} + query_params[:'sink_org_id'] = opts[:'sink_org_id'] if !opts[:'sink_org_id'].nil? + query_params[:'source_org_id'] = opts[:'source_org_id'] if !opts[:'source_org_id'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? # header parameters header_params = opts[:header_params] || {} diff --git a/lib/datadog_api_client/version.rb b/lib/datadog_api_client/version.rb index a567d23a118..b54bee1045e 100644 --- a/lib/datadog_api_client/version.rb +++ b/lib/datadog_api_client/version.rb @@ -1,5 +1,5 @@ # Define library version. module DatadogAPIClient - VERSION = '2.41.0' + VERSION = '2.42.0' end