Skip to content

Commit 6fa8d7b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e7c3997 of spec repo
1 parent f919057 commit 6fa8d7b

File tree

7 files changed

+108
-115
lines changed

7 files changed

+108
-115
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4180,14 +4180,14 @@ components:
41804180
type: boolean
41814181
type: object
41824182
HostTags:
4183-
description: Set of tags to associate with your host.
4183+
description: Host name and an array of its tags
41844184
properties:
41854185
host:
41864186
description: Your host name.
41874187
example: test.host
41884188
type: string
41894189
tags:
4190-
description: A list of tags to apply to the host.
4190+
description: A list of tags associated with a host.
41914191
items:
41924192
description: A given tag in a list.
41934193
example: environment:production
@@ -18703,18 +18703,18 @@ components:
1870318703
- match
1870418704
type: object
1870518705
TagToHosts:
18706-
description: In this object, the key is the tag, the value is a list of host
18707-
names that are reporting that tag.
18706+
description: In this object, the key is the tag, and the value is a list of
18707+
host names that are reporting that tag.
1870818708
properties:
1870918709
tags:
1871018710
additionalProperties:
18711-
description: A list of additional properties for tags.
18711+
description: A list of host names which contain this tag
1871218712
items:
1871318713
description: A given tag in a list.
1871418714
example: test.metric.host
1871518715
type: string
1871618716
type: array
18717-
description: A list of tags to apply to the host.
18717+
description: A mapping of tags to host names
1871818718
type: object
1871918719
type: object
1872018720
TargetFormatType:
@@ -35726,11 +35726,13 @@ paths:
3572635726
- synthetics_global_variable_write
3572735727
/api/v1/tags/hosts:
3572835728
get:
35729-
description: Return a mapping of tags to hosts for your whole infrastructure.
35729+
description: Returns a mapping of tags to hosts. For each tag, the response
35730+
returns a list of host names that contain this tag. There is a restriction
35731+
of 10k total host names from the org that can be attached to tags and returned.
3573035732
operationId: ListHostTags
3573135733
parameters:
35732-
- description: When specified, filters host list to those tags with the specified
35733-
source.
35734+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35735+
Use "user" source for custom-defined tags.
3573435736
in: query
3573535737
name: source
3573635738
required: false
@@ -35761,29 +35763,29 @@ paths:
3576135763
- apiKeyAuth: []
3576235764
appKeyAuth: []
3576335765
- AuthZ: []
35764-
summary: Get Tags
35766+
summary: Get All Host Tags
3576535767
tags:
3576635768
- Tags
3576735769
x-permission:
3576835770
operator: OPEN
3576935771
permissions: []
3577035772
/api/v1/tags/hosts/{host_name}:
3577135773
delete:
35772-
description: 'This endpoint allows you to remove all user-assigned tags
35774+
description: 'This endpoint allows you to remove all tags
3577335775

35774-
for a single host.'
35776+
for a single host. If no source is specified, only deletes from the source
35777+
"User".'
3577535778
operationId: DeleteHostTags
3577635779
parameters:
35777-
- description: This endpoint allows you to remove all user-assigned tags for
35778-
a single host.
35780+
- description: Specified host name to delete tags
3577935781
in: path
3578035782
name: host_name
3578135783
required: true
3578235784
schema:
3578335785
type: string
35784-
- description: 'The source of the tags (for example chef, puppet).
35785-
35786-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).'
35786+
- description: Source of the tags to be deleted. [Complete list of source attribute
35787+
values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35788+
Use "user" source for custom-defined tags.
3578735789
in: query
3578835790
name: source
3578935791
required: false
@@ -35813,14 +35815,14 @@ paths:
3581335815
description: Return the list of tags that apply to a given host.
3581435816
operationId: GetHostTags
3581535817
parameters:
35816-
- description: When specified, filters list of tags to those tags with the specified
35817-
source.
35818+
- description: Name of the host to retrieve tags for
3581835819
in: path
3581935820
name: host_name
3582035821
required: true
3582135822
schema:
3582235823
type: string
35823-
- description: Source to filter.
35824+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35825+
Use "user" source for custom-defined tags.
3582435826
in: query
3582535827
name: source
3582635828
required: false
@@ -35847,25 +35849,25 @@ paths:
3584735849
description: Not Found
3584835850
'429':
3584935851
$ref: '#/components/responses/TooManyRequestsResponse'
35850-
summary: Get host tags
35852+
summary: Get Host Tags
3585135853
tags:
3585235854
- Tags
3585335855
post:
3585435856
description: 'This endpoint allows you to add new tags to a host,
3585535857

35856-
optionally specifying where these tags come from.'
35858+
optionally specifying what source these tags come from. If tags already exist,
35859+
appends new tags to the tag list. If no source is specified, defaults to "user".'
3585735860
operationId: CreateHostTags
3585835861
parameters:
35859-
- description: This endpoint allows you to add new tags to a host, optionally
35860-
specifying where the tags came from.
35862+
- description: Specified host name to add new tags
3586135863
in: path
3586235864
name: host_name
3586335865
required: true
3586435866
schema:
3586535867
type: string
35866-
- description: 'The source of the tags.
35867-
35868-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).'
35868+
- description: Source to add tags. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35869+
Use "user" source for custom-defined tags. If no source is specified, defaults
35870+
to "user".
3586935871
example: chef
3587035872
in: query
3587135873
name: source
@@ -35910,16 +35912,15 @@ paths:
3591035912
an integration source with those supplied in the request.'
3591135913
operationId: UpdateHostTags
3591235914
parameters:
35913-
- description: This endpoint allows you to update/replace all in an integration
35914-
source with those supplied in the request.
35915+
- description: Specified host name to change tags
3591535916
in: path
3591635917
name: host_name
3591735918
required: true
3591835919
schema:
3591935920
type: string
35920-
- description: 'The source of the tags (for example chef, puppet).
35921-
35922-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value)'
35921+
- description: Source to update tags. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35922+
Use "user" source for custom-defined tags. If no source specified, defaults
35923+
to "user".
3592335924
in: query
3592435925
name: source
3592535926
required: false
@@ -38935,7 +38936,8 @@ tags:
3893538936

3893638937
by a source. For example, some valid sources include nagios, hudson, jenkins,
3893738938

38938-
users, feed, chef, puppet, git, bitbucket, fabric, capistrano, etc.
38939+
users, feed, chef, puppet, git, bitbucket, fabric, capistrano, etc. Find a complete
38940+
list of source type names under [API Source Attributes](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
3893938941

3894038942

3894138943
Read more about tags on [Getting Started with Tags](https://docs.datadoghq.com/getting_started/tagging/).'

examples/v1/tags/GetHostTags.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Get host tags returns "OK" response
1+
// Get Host Tags returns "OK" response
22

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;

examples/v1/tags/ListHostTags.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Get Tags returns "OK" response
1+
// Get All Host Tags returns "OK" response
22

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;

0 commit comments

Comments
 (0)