Skip to content

Commit 5a2f363

Browse files
Merge master into datadog-api-spec/test/th-ch/SYNTH-15776/synthetics-uptime-endpoint
2 parents 954dfe9 + aa8df54 commit 5a2f363

38 files changed

+2348
-33
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-09-12 09:36:34.033025",
8-
"spec_repo_commit": "7c86a87a"
7+
"regenerated": "2024-09-16 14:02:52.161932",
8+
"spec_repo_commit": "966987f5"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-12 09:36:34.051405",
13-
"spec_repo_commit": "7c86a87a"
12+
"regenerated": "2024-09-16 14:02:52.179359",
13+
"spec_repo_commit": "966987f5"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16752,6 +16752,181 @@ components:
1675216752
$ref: '#/components/schemas/LogQueryDefinition'
1675316753
sort:
1675416754
$ref: '#/components/schemas/WidgetSortBy'
16755+
text_formats:
16756+
description: List of text formats for columns produced by tags.
16757+
items:
16758+
$ref: '#/components/schemas/TableWidgetTextFormat'
16759+
type: array
16760+
type: object
16761+
TableWidgetTextFormat:
16762+
description: Text format rules for a tag-based column within a table widget.
16763+
example:
16764+
- match:
16765+
type: is
16766+
value: fruit
16767+
replace:
16768+
type: all
16769+
with: vegetable
16770+
- match:
16771+
type: is
16772+
value: cake
16773+
palette: white_on_green
16774+
items:
16775+
$ref: '#/components/schemas/TableWidgetTextFormatRule'
16776+
minItems: 1
16777+
type: array
16778+
TableWidgetTextFormatMatch:
16779+
description: Match rule for the table widget text format.
16780+
example:
16781+
type: is
16782+
value: fruit
16783+
properties:
16784+
type:
16785+
$ref: '#/components/schemas/TableWidgetTextFormatMatchType'
16786+
value:
16787+
description: Table Widget Match String.
16788+
example: Match Value
16789+
type: string
16790+
required:
16791+
- type
16792+
- value
16793+
type: object
16794+
TableWidgetTextFormatMatchType:
16795+
description: Match or compare option.
16796+
enum:
16797+
- is
16798+
- is_not
16799+
- contains
16800+
- does_not_contain
16801+
- starts_with
16802+
- ends_with
16803+
example: is
16804+
type: string
16805+
x-enum-varnames:
16806+
- IS
16807+
- IS_NOT
16808+
- CONTAINS
16809+
- DOES_NOT_CONTAIN
16810+
- STARTS_WITH
16811+
- ENDS_WITH
16812+
TableWidgetTextFormatPalette:
16813+
default: white_on_green
16814+
description: Color-on-color palette to highlight replaced text.
16815+
enum:
16816+
- white_on_red
16817+
- white_on_yellow
16818+
- white_on_green
16819+
- black_on_light_red
16820+
- black_on_light_yellow
16821+
- black_on_light_green
16822+
- red_on_white
16823+
- yellow_on_white
16824+
- green_on_white
16825+
- custom_bg
16826+
- custom_text
16827+
type: string
16828+
x-enum-varnames:
16829+
- WHITE_ON_RED
16830+
- WHITE_ON_YELLOW
16831+
- WHITE_ON_GREEN
16832+
- BLACK_ON_LIGHT_RED
16833+
- BLACK_ON_LIGHT_YELLOW
16834+
- BLACK_ON_LIGHT_GREEN
16835+
- RED_ON_WHITE
16836+
- YELLOW_ON_WHITE
16837+
- GREEN_ON_WHITE
16838+
- CUSTOM_BG
16839+
- CUSTOM_TEXT
16840+
TableWidgetTextFormatReplace:
16841+
description: Replace rule for the table widget text format.
16842+
example:
16843+
type: all
16844+
with: vegetable
16845+
oneOf:
16846+
- $ref: '#/components/schemas/TableWidgetTextFormatReplaceAll'
16847+
- $ref: '#/components/schemas/TableWidgetTextFormatReplaceSubstring'
16848+
TableWidgetTextFormatReplaceAll:
16849+
description: Match All definition.
16850+
example:
16851+
type: all
16852+
with: vegetable
16853+
properties:
16854+
type:
16855+
$ref: '#/components/schemas/TableWidgetTextFormatReplaceAllType'
16856+
with:
16857+
description: Replace All type.
16858+
example: all
16859+
type: string
16860+
required:
16861+
- type
16862+
- with
16863+
type: object
16864+
TableWidgetTextFormatReplaceAllType:
16865+
description: Table widget text format replace all type.
16866+
enum:
16867+
- all
16868+
example: all
16869+
type: string
16870+
x-enum-varnames:
16871+
- ALL
16872+
TableWidgetTextFormatReplaceSubstring:
16873+
description: Match Sub-string definition.
16874+
example:
16875+
substring: fruit
16876+
type: substring
16877+
with: vegetable
16878+
properties:
16879+
substring:
16880+
description: Text that will be replaced.
16881+
example: string to replace
16882+
type: string
16883+
type:
16884+
$ref: '#/components/schemas/TableWidgetTextFormatReplaceSubstringType'
16885+
with:
16886+
description: Text that will replace original sub-string.
16887+
example: replacement
16888+
type: string
16889+
required:
16890+
- type
16891+
- with
16892+
- substring
16893+
type: object
16894+
TableWidgetTextFormatReplaceSubstringType:
16895+
description: Table widget text format replace sub-string type.
16896+
enum:
16897+
- substring
16898+
example: substring
16899+
type: string
16900+
x-enum-varnames:
16901+
- SUBSTRING
16902+
TableWidgetTextFormatRule:
16903+
description: Text format rules.
16904+
example:
16905+
match:
16906+
type: is
16907+
value: apple
16908+
replace:
16909+
type: all
16910+
with: vegetable
16911+
properties:
16912+
custom_bg_color:
16913+
description: Hex representation of the custom background color. Used with
16914+
custom background palette option.
16915+
example: '#632ca6'
16916+
type: string
16917+
custom_fg_color:
16918+
description: Hex representation of the custom text color. Used with custom
16919+
text palette option.
16920+
example: '#632ca6'
16921+
type: string
16922+
match:
16923+
$ref: '#/components/schemas/TableWidgetTextFormatMatch'
16924+
palette:
16925+
$ref: '#/components/schemas/TableWidgetTextFormatPalette'
16926+
replace:
16927+
$ref: '#/components/schemas/TableWidgetTextFormatReplace'
16928+
required:
16929+
- match
1675516930
type: object
1675616931
TagToHosts:
1675716932
description: In this object, the key is the tag, the value is a list of host

.generator/schemas/v2/openapi.yaml

Lines changed: 120 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,64 @@ components:
950950
$ref: '#/components/schemas/AWSRelatedAccount'
951951
type: array
952952
type: object
953+
AbbreviatedTeam:
954+
description: The definition of `AbbreviatedTeam` object.
955+
properties:
956+
attributes:
957+
$ref: '#/components/schemas/AbbreviatedTeamAttributes'
958+
id:
959+
description: ID of the team
960+
type: string
961+
type:
962+
$ref: '#/components/schemas/AbbreviatedTeamType'
963+
required:
964+
- attributes
965+
- type
966+
type: object
967+
AbbreviatedTeamAttributes:
968+
description: The definition of `AbbreviatedTeamAttributes` object.
969+
properties:
970+
avatar:
971+
description: Unicode representation of the avatar for the team, limited
972+
to a single grapheme
973+
nullable: true
974+
type: string
975+
banner:
976+
description: Banner selection for the team
977+
format: int64
978+
type: integer
979+
handle:
980+
description: The team's identifier
981+
example: ''
982+
type: string
983+
handles:
984+
description: The `AbbreviatedTeamAttributes` `handles`.
985+
type: string
986+
is_open_membership:
987+
description: The `AbbreviatedTeamAttributes` `is_open_membership`.
988+
readOnly: true
989+
type: boolean
990+
name:
991+
description: The name of the team
992+
example: ''
993+
type: string
994+
summary:
995+
description: A brief summary of the team
996+
readOnly: true
997+
type: string
998+
required:
999+
- handle
1000+
- name
1001+
type: object
1002+
AbbreviatedTeamType:
1003+
default: team
1004+
description: The definition of `AbbreviatedTeamType` object.
1005+
enum:
1006+
- team
1007+
example: team
1008+
type: string
1009+
x-enum-varnames:
1010+
- TEAM
9531011
ActiveBillingDimensionsAttributes:
9541012
description: List of active billing dimensions.
9551013
properties:
@@ -10384,6 +10442,13 @@ components:
1038410442
notification_handles:
1038510443
description: Notification handles that will be notified of the incident
1038610444
at creation.
10445+
example:
10446+
- display_name: Jane Doe
10447+
handle: '@[email protected]'
10448+
- display_name: Slack Channel
10449+
handle: '@slack-channel'
10450+
- display_name: Incident Workflow
10451+
handle: '@workflow-from-incident'
1038710452
items:
1038810453
$ref: '#/components/schemas/IncidentNotificationHandle'
1038910454
type: array
@@ -10670,7 +10735,8 @@ components:
1067010735
example: Jane Doe
1067110736
type: string
1067210737
handle:
10673-
description: The email address used for the notification.
10738+
description: The handle used for the notification. This includes an email
10739+
address, Slack channel, or workflow.
1067410740
example: '@[email protected]'
1067510741
type: string
1067610742
type: object
@@ -10783,6 +10849,13 @@ components:
1078310849
notification_handles:
1078410850
description: Notification handles that will be notified of the incident
1078510851
during update.
10852+
example:
10853+
- display_name: Jane Doe
10854+
handle: '@[email protected]'
10855+
- display_name: Slack Channel
10856+
handle: '@slack-channel'
10857+
- display_name: Incident Workflow
10858+
handle: '@workflow-from-incident'
1078610859
items:
1078710860
$ref: '#/components/schemas/IncidentNotificationHandle'
1078810861
nullable: true
@@ -11750,6 +11823,13 @@ components:
1175011823
notification_handles:
1175111824
description: Notification handles that will be notified of the incident
1175211825
during update.
11826+
example:
11827+
- display_name: Jane Doe
11828+
handle: '@[email protected]'
11829+
- display_name: Slack Channel
11830+
handle: '@slack-channel'
11831+
- display_name: Incident Workflow
11832+
handle: '@workflow-from-incident'
1175311833
items:
1175411834
$ref: '#/components/schemas/IncidentNotificationHandle'
1175511835
type: array
@@ -23947,12 +24027,6 @@ components:
2394724027
format: int64
2394824028
nullable: true
2394924029
type: integer
23950-
color:
23951-
description: An identifier for the color representing the team
23952-
format: int32
23953-
maximum: 13
23954-
minimum: 0
23955-
type: integer
2395624030
description:
2395724031
description: Free-form markdown description/content for the team's homepage
2395824032
type: string
@@ -24774,6 +24848,8 @@ components:
2477424848
oneOf:
2477524849
- $ref: '#/components/schemas/User'
2477624850
- $ref: '#/components/schemas/Team'
24851+
- $ref: '#/components/schemas/AbbreviatedTeam'
24852+
- $ref: '#/components/schemas/UserTeamUser'
2477724853
UserTeamPermission:
2477824854
description: A user's permissions for a given team
2477924855
properties:
@@ -24878,6 +24954,42 @@ components:
2487824954
required:
2487924955
- data
2488024956
type: object
24957+
UserTeamUser:
24958+
description: The definition of `UserTeamUser` object.
24959+
properties:
24960+
attributes:
24961+
$ref: '#/components/schemas/UserTeamUserAttributes'
24962+
id:
24963+
description: The `UserTeamUser` ID.
24964+
type: string
24965+
type:
24966+
$ref: '#/components/schemas/UserTeamUserType'
24967+
required:
24968+
- type
24969+
type: object
24970+
UserTeamUserAttributes:
24971+
description: The definition of `UserTeamUserAttributes` object.
24972+
properties:
24973+
disabled:
24974+
description: The `UserTeamUserAttributes` `disabled`.
24975+
type: boolean
24976+
email:
24977+
description: The `UserTeamUserAttributes` `email`.
24978+
type: string
24979+
handle:
24980+
description: The `UserTeamUserAttributes` `handle`.
24981+
type: string
24982+
icon:
24983+
description: The `UserTeamUserAttributes` `icon`.
24984+
type: string
24985+
name:
24986+
description: The `UserTeamUserAttributes` `name`.
24987+
nullable: true
24988+
type: string
24989+
service_account:
24990+
description: The `UserTeamUserAttributes` `service_account`.
24991+
type: boolean
24992+
type: object
2488124993
UserTeamUserType:
2488224994
default: users
2488324995
description: User team user type
@@ -37849,6 +37961,7 @@ paths:
3784937961
name: filter[keyword]
3785037962
required: false
3785137963
schema:
37964+
description: Search query, can be user email or name.
3785237965
type: string
3785337966
responses:
3785437967
'200':

0 commit comments

Comments
 (0)