Skip to content

Remove preview status for GetBillingDimensionMapping endpoint #2371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-22 15:54:08.561505",
"spec_repo_commit": "7a8ea4b1"
"regenerated": "2025-01-23 20:01:37.241080",
"spec_repo_commit": "f985f8bc"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-22 15:54:08.576092",
"spec_repo_commit": "7a8ea4b1"
"regenerated": "2025-01-23 20:01:37.256108",
"spec_repo_commit": "f985f8bc"
}
}
}
3 changes: 0 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47793,9 +47793,6 @@ paths:
operator: OR
permissions:
- usage_read
x-unstable: '**Note**: This endpoint is in Preview.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/usage/cost_by_org:
get:
deprecated: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Compress site
run: tar czf site.tar.gz site

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: documentation
path: site.tar.gz
Expand All @@ -64,7 +64,7 @@ jobs:
- build

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: documentation
path: site
Expand Down
1 change: 0 additions & 1 deletion examples/v2/usage-metering/GetBillingDimensionMapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from datadog_api_client.v2.api.usage_metering_api import UsageMeteringApi

configuration = Configuration()
configuration.unstable_operations["get_billing_dimension_mapping"] = True
with ApiClient(configuration) as api_client:
api_instance = UsageMeteringApi(api_client)
response = api_instance.get_billing_dimension_mapping()
Expand Down
1 change: 0 additions & 1 deletion src/datadog_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ def __init__(
"v2.list_apps": False,
"v2.update_app": False,
"v2.get_active_billing_dimensions": False,
"v2.get_billing_dimension_mapping": False,
"v2.get_monthly_cost_attribution": False,
"v2.cancel_data_deletion_request": False,
"v2.create_data_deletion_request": False,
Expand Down
6 changes: 2 additions & 4 deletions tests/v2/features/usage_metering.feature
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,13 @@ Feature: Usage Metering

@team:DataDog/revenue-query
Scenario: Get billing dimension mapping for usage endpoints returns "Bad Request" response
Given operation "GetBillingDimensionMapping" enabled
And new "GetBillingDimensionMapping" request
Given new "GetBillingDimensionMapping" request
When the request is sent
Then the response status is 400 Bad Request

@skip @team:DataDog/revenue-query
Scenario: Get billing dimension mapping for usage endpoints returns "OK" response
Given operation "GetBillingDimensionMapping" enabled
And new "GetBillingDimensionMapping" request
Given new "GetBillingDimensionMapping" request
When the request is sent
Then the response status is 200 OK

Expand Down
Loading