Skip to content

Commit 6e0685b

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

File tree

5 files changed

+53
-51
lines changed

5 files changed

+53
-51
lines changed

config/_default/menus/api.en.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4206,7 +4206,7 @@ menu:
42064206
- CreateHostTags
42074207
unstable: []
42084208
order: 3
4209-
- name: Get host tags
4209+
- name: Get Host Tags
42104210
url: '#get-host-tags'
42114211
identifier: tags-get-host-tags
42124212
parent: tags
@@ -4230,9 +4230,9 @@ menu:
42304230
- DeleteHostTags
42314231
unstable: []
42324232
order: 5
4233-
- name: Get Tags
4234-
url: '#get-tags'
4235-
identifier: tags-get-tags
4233+
- name: Get All Host Tags
4234+
url: '#get-all-host-tags'
4235+
identifier: tags-get-all-host-tags
42364236
parent: tags
42374237
generated: true
42384238
params:

content/en/api/v1/tags/examples.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
}
1111
},
12-
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> tags</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">&lt;any-key&gt;</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of additional properties for tags.</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
12+
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> tags</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"><p>A mapping of tags to host names</p></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">&lt;any-key&gt;</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of host names which contain this tag</p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
1313
},
1414
"403": {
1515
"json": {
@@ -84,7 +84,7 @@
8484
"environment:production"
8585
]
8686
},
87-
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n \n </div>\n </div></div>"
87+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags associated with a host.</p></div>\n </div>\n \n </div>\n </div></div>"
8888
},
8989
"403": {
9090
"json": {
@@ -126,7 +126,7 @@
126126
"environment:production"
127127
]
128128
},
129-
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n \n </div>\n </div></div>"
129+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags associated with a host.</p></div>\n </div>\n \n </div>\n </div></div>"
130130
},
131131
"403": {
132132
"json": {
@@ -161,7 +161,7 @@
161161
"environment:production"
162162
]
163163
},
164-
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n \n </div>\n </div></div>"
164+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags associated with a host.</p></div>\n </div>\n \n </div>\n </div></div>"
165165
}
166166
},
167167
"UpdateHostTags": {
@@ -173,7 +173,7 @@
173173
"environment:production"
174174
]
175175
},
176-
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n \n </div>\n </div></div>"
176+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags associated with a host.</p></div>\n </div>\n \n </div>\n </div></div>"
177177
},
178178
"403": {
179179
"json": {
@@ -208,7 +208,7 @@
208208
"environment:production"
209209
]
210210
},
211-
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags to apply to the host.</p></div>\n </div>\n \n </div>\n </div></div>"
211+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">host</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"><p>Your host name.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">tags</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of tags associated with a host.</p></div>\n </div>\n \n </div>\n </div></div>"
212212
}
213213
}
214214
}

data/api/v1/full_spec.yaml

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4287,14 +4287,14 @@ components:
42874287
type: boolean
42884288
type: object
42894289
HostTags:
4290-
description: Set of tags to associate with your host.
4290+
description: Host name and an array of its tags
42914291
properties:
42924292
host:
42934293
description: Your host name.
42944294
example: test.host
42954295
type: string
42964296
tags:
4297-
description: A list of tags to apply to the host.
4297+
description: A list of tags associated with a host.
42984298
items:
42994299
description: A given tag in a list.
43004300
example: environment:production
@@ -18939,18 +18939,18 @@ components:
1893918939
- match
1894018940
type: object
1894118941
TagToHosts:
18942-
description: In this object, the key is the tag, the value is a list of host
18943-
names that are reporting that tag.
18942+
description: In this object, the key is the tag, and the value is a list of
18943+
host names that are reporting that tag.
1894418944
properties:
1894518945
tags:
1894618946
additionalProperties:
18947-
description: A list of additional properties for tags.
18947+
description: A list of host names which contain this tag
1894818948
items:
1894918949
description: A given tag in a list.
1895018950
example: test.metric.host
1895118951
type: string
1895218952
type: array
18953-
description: A list of tags to apply to the host.
18953+
description: A mapping of tags to host names
1895418954
type: object
1895518955
type: object
1895618956
TargetFormatType:
@@ -36880,11 +36880,13 @@ paths:
3688036880
- synthetics_global_variable_write
3688136881
/api/v1/tags/hosts:
3688236882
get:
36883-
description: Return a mapping of tags to hosts for your whole infrastructure.
36883+
description: Returns a mapping of tags to hosts. For each tag, the response
36884+
returns a list of host names that contain this tag. There is a restriction
36885+
of 10k total host names from the org that can be attached to tags and returned.
3688436886
operationId: ListHostTags
3688536887
parameters:
36886-
- description: When specified, filters host list to those tags with the specified
36887-
source.
36888+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
36889+
Use "user" source for custom-defined tags.
3688836890
in: query
3688936891
name: source
3689036892
required: false
@@ -36915,7 +36917,7 @@ paths:
3691536917
- apiKeyAuth: []
3691636918
appKeyAuth: []
3691736919
- AuthZ: []
36918-
summary: Get Tags
36920+
summary: Get All Host Tags
3691936921
tags:
3692036922
- Tags
3692136923
x-menu-order: 1
@@ -36924,21 +36926,21 @@ paths:
3692436926
permissions: []
3692536927
/api/v1/tags/hosts/{host_name}:
3692636928
delete:
36927-
description: 'This endpoint allows you to remove all user-assigned tags
36929+
description: 'This endpoint allows you to remove all tags
3692836930

36929-
for a single host.'
36931+
for a single host. If no source is specified, only deletes from the source
36932+
"User".'
3693036933
operationId: DeleteHostTags
3693136934
parameters:
36932-
- description: This endpoint allows you to remove all user-assigned tags for
36933-
a single host.
36935+
- description: Specified host name to delete tags
3693436936
in: path
3693536937
name: host_name
3693636938
required: true
3693736939
schema:
3693836940
type: string
36939-
- description: 'The source of the tags (for example chef, puppet).
36940-
36941-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).'
36941+
- description: Source of the tags to be deleted. [Complete list of source attribute
36942+
values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
36943+
Use "user" source for custom-defined tags.
3694236944
in: query
3694336945
name: source
3694436946
required: false
@@ -36969,14 +36971,14 @@ paths:
3696936971
description: Return the list of tags that apply to a given host.
3697036972
operationId: GetHostTags
3697136973
parameters:
36972-
- description: When specified, filters list of tags to those tags with the specified
36973-
source.
36974+
- description: Name of the host to retrieve tags for
3697436975
in: path
3697536976
name: host_name
3697636977
required: true
3697736978
schema:
3697836979
type: string
36979-
- description: Source to filter.
36980+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
36981+
Use "user" source for custom-defined tags.
3698036982
in: query
3698136983
name: source
3698236984
required: false
@@ -37003,26 +37005,26 @@ paths:
3700337005
description: Not Found
3700437006
'429':
3700537007
$ref: '#/components/responses/TooManyRequestsResponse'
37006-
summary: Get host tags
37008+
summary: Get Host Tags
3700737009
tags:
3700837010
- Tags
3700937011
x-menu-order: 2
3701037012
post:
3701137013
description: 'This endpoint allows you to add new tags to a host,
3701237014

37013-
optionally specifying where these tags come from.'
37015+
optionally specifying what source these tags come from. If tags already exist,
37016+
appends new tags to the tag list. If no source is specified, defaults to "user".'
3701437017
operationId: CreateHostTags
3701537018
parameters:
37016-
- description: This endpoint allows you to add new tags to a host, optionally
37017-
specifying where the tags came from.
37019+
- description: Specified host name to add new tags
3701837020
in: path
3701937021
name: host_name
3702037022
required: true
3702137023
schema:
3702237024
type: string
37023-
- description: 'The source of the tags.
37024-
37025-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).'
37025+
- description: Source to add tags. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
37026+
Use "user" source for custom-defined tags. If no source is specified, defaults
37027+
to "user".
3702637028
example: chef
3702737029
in: query
3702837030
name: source
@@ -37068,16 +37070,15 @@ paths:
3706837070
an integration source with those supplied in the request.'
3706937071
operationId: UpdateHostTags
3707037072
parameters:
37071-
- description: This endpoint allows you to update/replace all in an integration
37072-
source with those supplied in the request.
37073+
- description: Specified host name to change tags
3707337074
in: path
3707437075
name: host_name
3707537076
required: true
3707637077
schema:
3707737078
type: string
37078-
- description: 'The source of the tags (for example chef, puppet).
37079-
37080-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value)'
37079+
- description: Source to update tags. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
37080+
Use "user" source for custom-defined tags. If no source specified, defaults
37081+
to "user".
3708137082
in: query
3708237083
name: source
3708337084
required: false
@@ -40212,7 +40213,8 @@ tags:
4021240213

4021340214
by a source. For example, some valid sources include nagios, hudson, jenkins,
4021440215

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

4021740219

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

0 commit comments

Comments
 (0)