You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .generator/schemas/v1/openapi.yaml
+47-35Lines changed: 47 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -4179,7 +4179,7 @@ components:
4179
4179
example: false
4180
4180
type: boolean
4181
4181
type: object
4182
-
HostTags:
4182
+
HostTagsInput:
4183
4183
description: Set of tags to associate with your host.
4184
4184
properties:
4185
4185
host:
@@ -4194,6 +4194,21 @@ components:
4194
4194
type: string
4195
4195
type: array
4196
4196
type: object
4197
+
HostTagsOutput:
4198
+
description: Set of tags to associate with your host.
4199
+
properties:
4200
+
host:
4201
+
description: Your host name.
4202
+
example: test.host
4203
+
type: string
4204
+
tags:
4205
+
description: A list of tags attached to a given host.
4206
+
items:
4207
+
description: A given tag in a list.
4208
+
example: environment:production
4209
+
type: string
4210
+
type: array
4211
+
type: object
4197
4212
HostTotals:
4198
4213
description: Total number of host currently monitored by Datadog.
4199
4214
properties:
@@ -18689,18 +18704,18 @@ components:
18689
18704
- match
18690
18705
type: object
18691
18706
TagToHosts:
18692
-
description: In this object, the key is the tag, the value is a list of host
18693
-
names that are reporting that tag.
18707
+
description: In this object, the key is the tag, and the value is a list of
18708
+
host names that are reporting that tag.
18694
18709
properties:
18695
18710
tags:
18696
18711
additionalProperties:
18697
-
description: A list of additional properties for tags.
18712
+
description: A list of host names which contain this tag
18698
18713
items:
18699
18714
description: A given tag in a list.
18700
18715
example: test.metric.host
18701
18716
type: string
18702
18717
type: array
18703
-
description: A list of tags to apply to the host.
18718
+
description: A mapping of tags to host names
18704
18719
type: object
18705
18720
type: object
18706
18721
TargetFormatType:
@@ -35712,11 +35727,13 @@ paths:
35712
35727
- synthetics_global_variable_write
35713
35728
/api/v1/tags/hosts:
35714
35729
get:
35715
-
description: Return a mapping of tags to hosts for your whole infrastructure.
35730
+
description: Returns a mapping of tags to hosts. For each tag, the response
35731
+
returns a list of host names that contain this tag. There is a restriction
35732
+
of 10k host names from the org that can be attached to tags and returned.
35716
35733
operationId: ListHostTags
35717
35734
parameters:
35718
-
- description: When specified, filters host list to those tags with the specified
35719
-
source.
35735
+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35736
+
Use "user" source for custom-defined tags.
35720
35737
in: query
35721
35738
name: source
35722
35739
required: false
@@ -35747,7 +35764,7 @@ paths:
35747
35764
- apiKeyAuth: []
35748
35765
appKeyAuth: []
35749
35766
- AuthZ: []
35750
-
summary: Get Tags
35767
+
summary: Get All Host Tags
35751
35768
tags:
35752
35769
- Tags
35753
35770
x-permission:
@@ -35760,16 +35777,14 @@ paths:
35760
35777
for a single host.'
35761
35778
operationId: DeleteHostTags
35762
35779
parameters:
35763
-
- description: This endpoint allows you to remove all user-assigned tags for
35764
-
a single host.
35780
+
- description: Specified host name to delete tags
35765
35781
in: path
35766
35782
name: host_name
35767
35783
required: true
35768
35784
schema:
35769
35785
type: string
35770
-
- description: 'The source of the tags (for example chef, puppet).
35771
-
35772
-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).'
35786
+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35787
+
Use "user" source for custom-defined tags.
35773
35788
in: query
35774
35789
name: source
35775
35790
required: false
@@ -35799,14 +35814,14 @@ paths:
35799
35814
description: Return the list of tags that apply to a given host.
35800
35815
operationId: GetHostTags
35801
35816
parameters:
35802
-
- description: When specified, filters list of tags to those tags with the specified
35803
-
source.
35817
+
- description: Specified host name to view tags
35804
35818
in: path
35805
35819
name: host_name
35806
35820
required: true
35807
35821
schema:
35808
35822
type: string
35809
-
- description: Source to filter.
35823
+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
description: 'This endpoint allows you to add new tags to a host,
35841
35856
35842
-
optionally specifying where these tags come from.'
35857
+
optionally specifying what source these tags come from.'
35843
35858
operationId: CreateHostTags
35844
35859
parameters:
35845
-
- description: This endpoint allows you to add new tags to a host, optionally
35846
-
specifying where the tags came from.
35860
+
- description: Specified host name to add new tags
35847
35861
in: path
35848
35862
name: host_name
35849
35863
required: true
35850
35864
schema:
35851
35865
type: string
35852
-
- description: 'The source of the tags.
35853
-
35854
-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).'
35866
+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35867
+
Use "user" source for custom-defined tags.
35855
35868
example: chef
35856
35869
in: query
35857
35870
name: source
@@ -35862,15 +35875,15 @@ paths:
35862
35875
content:
35863
35876
application/json:
35864
35877
schema:
35865
-
$ref: '#/components/schemas/HostTags'
35878
+
$ref: '#/components/schemas/HostTagsInput'
35866
35879
description: Update host tags request body.
35867
35880
required: true
35868
35881
responses:
35869
35882
'201':
35870
35883
content:
35871
35884
application/json:
35872
35885
schema:
35873
-
$ref: '#/components/schemas/HostTags'
35886
+
$ref: '#/components/schemas/HostTagsOutput'
35874
35887
description: Created
35875
35888
'403':
35876
35889
content:
@@ -35896,16 +35909,14 @@ paths:
35896
35909
an integration source with those supplied in the request.'
35897
35910
operationId: UpdateHostTags
35898
35911
parameters:
35899
-
- description: This endpoint allows you to update/replace all in an integration
35900
-
source with those supplied in the request.
35912
+
- description: Specified host name to change tags
35901
35913
in: path
35902
35914
name: host_name
35903
35915
required: true
35904
35916
schema:
35905
35917
type: string
35906
-
- description: 'The source of the tags (for example chef, puppet).
35907
-
35908
-
[Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value)'
35918
+
- description: Source to filter. [Complete list of source attribute values](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
35919
+
Use "user" source for custom-defined tags.
35909
35920
in: query
35910
35921
name: source
35911
35922
required: false
@@ -35915,15 +35926,15 @@ paths:
35915
35926
content:
35916
35927
application/json:
35917
35928
schema:
35918
-
$ref: '#/components/schemas/HostTags'
35929
+
$ref: '#/components/schemas/HostTagsInput'
35919
35930
description: Add tags to host
35920
35931
required: true
35921
35932
responses:
35922
35933
'201':
35923
35934
content:
35924
35935
application/json:
35925
35936
schema:
35926
-
$ref: '#/components/schemas/HostTags'
35937
+
$ref: '#/components/schemas/HostTagsOutput'
35927
35938
description: OK
35928
35939
'403':
35929
35940
content:
@@ -38918,7 +38929,8 @@ tags:
38918
38929
38919
38930
by a source. For example, some valid sources include nagios, hudson, jenkins,
38920
38931
38921
-
users, feed, chef, puppet, git, bitbucket, fabric, capistrano, etc.
38932
+
users, feed, chef, puppet, git, bitbucket, fabric, capistrano, etc. Find a complete
38933
+
list of source type names under [API Source Attributes](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
38922
38934
38923
38935
38924
38936
Read more about tags on [Getting Started with Tags](https://docs.datadoghq.com/getting_started/tagging/).'
Copy file name to clipboardExpand all lines: services/tags/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ tags to a particular host.
10
10
11
11
The component of your infrastructure responsible for a tag is identified
12
12
by a source. For example, some valid sources include nagios, hudson, jenkins,
13
-
users, feed, chef, puppet, git, bitbucket, fabric, capistrano, etc.
13
+
users, feed, chef, puppet, git, bitbucket, fabric, capistrano, etc. Find a complete list of source type names under [API Source Attributes](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
14
14
15
15
Read more about tags on [Getting Started with Tags](https://docs.datadoghq.com/getting_started/tagging/).
0 commit comments