Skip to content
Open
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
2 changes: 1 addition & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35649,7 +35649,7 @@ paths:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Get Tags
summary: Get All Hosts Tags
tags:
- Tags
x-permission:
Expand Down
2 changes: 1 addition & 1 deletion examples/v1/tags/ListHostTags.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Get Tags returns "OK" response
# Get All Hosts Tags returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::TagsAPI.new
Expand Down
4 changes: 2 additions & 2 deletions features/v1/tags.feature
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ Feature: Tags
Then the response status is 404 Not Found

@generated @skip @team:DataDog/core-index
Scenario: Get Tags returns "Not Found" response
Scenario: Get All Hosts Tags returns "Not Found" response
Given new "ListHostTags" request
When the request is sent
Then the response status is 404 Not Found

@generated @skip @team:DataDog/core-index
Scenario: Get Tags returns "OK" response
Scenario: Get All Hosts Tags returns "OK" response
Given new "ListHostTags" request
When the request is sent
Then the response status is 200 OK
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v1/api/tags_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,15 @@ def get_host_tags_with_http_info(host_name, opts = {})
return data, status_code, headers
end

# Get Tags.
# Get All Hosts Tags.
#
# @see #list_host_tags_with_http_info
def list_host_tags(opts = {})
data, _status_code, _headers = list_host_tags_with_http_info(opts)
data
end

# Get Tags.
# Get All Hosts Tags.
#
# Return a mapping of tags to hosts for your whole infrastructure.
#
Expand Down
Loading