Skip to content

Commit 35172d7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 4f0d635 of spec repo (#4060)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b5a600e commit 35172d7

4 files changed

Lines changed: 63 additions & 39 deletions

File tree

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 58 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -13585,10 +13585,11 @@ components:
1358513585
description: The request body for deleting multiple rows from a reference table.
1358613586
properties:
1358713587
data:
13588-
description: List of row resources to delete from the reference table.
13588+
description: >-
13589+
List of row resources to delete from the reference table. The request payload can be up to 1 MiB.
1358913590
items:
1359013591
$ref: "#/components/schemas/TableRowResourceIdentifier"
13591-
maxItems: 200
13592+
maxItems: 45589
1359213593
type: array
1359313594
required:
1359413595
- data
@@ -13702,10 +13703,11 @@ components:
1370213703
description: The request body for creating or updating multiple rows into a reference table.
1370313704
properties:
1370413705
data:
13705-
description: List of row resources to create or update in the reference table.
13706+
description: >-
13707+
List of row resources to create or update in the reference table. The request payload can be up to 1 MiB.
1370613708
items:
1370713709
$ref: "#/components/schemas/BatchUpsertRowsRequestData"
13708-
maxItems: 200
13710+
maxItems: 20971
1370913711
type: array
1371013712
required:
1371113713
- data
@@ -26777,7 +26779,8 @@ components:
2677726779
minItems: 1
2677826780
type: array
2677926781
primary_keys:
26780-
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
26782+
description: >-
26783+
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
2678126784
example:
2678226785
- "field_1"
2678326786
items:
@@ -27034,10 +27037,12 @@ components:
2703427037
- type
2703527038
type: object
2703627039
CreateUploadRequestDataAttributes:
27037-
description: Upload configuration specifying how data is uploaded by the user, and properties of the table to associate the upload with.
27040+
description: >-
27041+
Upload configuration specifying how data is uploaded by the user, and properties of the table to associate the upload with.
2703827042
properties:
2703927043
headers:
27040-
description: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file. Maximum of 200 columns.
27044+
description: >-
27045+
The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file. Maximum of 200 columns.
2704127046
example:
2704227047
- "field_1"
2704327048
- "field_2"
@@ -27078,7 +27083,8 @@ components:
2707827083
x-enum-varnames:
2707927084
- UPLOAD
2708027085
CreateUploadResponse:
27081-
description: Information about the upload created containing the upload ID and pre-signed URLs to PUT chunks of the CSV file to.
27086+
description: >-
27087+
Information about the upload created containing the upload ID and pre-signed URLs to PUT chunks of the CSV file to.
2708227088
properties:
2708327089
data:
2708427090
$ref: "#/components/schemas/CreateUploadResponseData"
@@ -67397,8 +67403,8 @@ components:
6739767403
id: 102.130.113.9
6739867404
type: row
6739967405
links:
67400-
first: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Blimit%5D=100"
67401-
self: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100"
67406+
first: "/api/v2/reference-tables/tables/<TABLE_ID>/rows/list?page[limit]=100"
67407+
self: "/api/v2/reference-tables/tables/<TABLE_ID>/rows/list?page[continuation_token]=<CONTINUATION_TOKEN>"
6740267408
meta:
6740367409
page:
6740467410
next_continuation_token: eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ==
@@ -67421,15 +67427,15 @@ components:
6742167427
properties:
6742267428
first:
6742367429
description: Link to the first page of results.
67424-
example: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Blimit%5D=100"
67430+
example: "/api/v2/reference-tables/tables/<TABLE_ID>/rows/list?page[limit]=100"
6742567431
type: string
6742667432
next:
6742767433
description: Link to the next page of results. Only present when more rows are available.
67428-
example: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100"
67434+
example: "/api/v2/reference-tables/tables/<TABLE_ID>/rows/list?page[continuation_token]=<CONTINUATION_TOKEN>"
6742967435
type: string
6743067436
self:
6743167437
description: Link to the current page of results.
67432-
example: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100"
67438+
example: "/api/v2/reference-tables/tables/<TABLE_ID>/rows/list?page[continuation_token]=<CONTINUATION_TOKEN>"
6743367439
type: string
6743467440
required:
6743567441
- self
@@ -67445,7 +67451,8 @@ components:
6744567451
description: Contains the continuation token for navigating to the next page of rows.
6744667452
properties:
6744767453
next_continuation_token:
67448-
description: Opaque token to pass as the `page[continuation_token]` query parameter to fetch the next page of results. Only present when more rows are available.
67454+
description: >-
67455+
Opaque token to pass as the `page[continuation_token]` query parameter to fetch the next page of results. Only present when more rows are available.
6744967456
example: eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ==
6745067457
type: string
6745167458
type: object
@@ -86075,7 +86082,8 @@ components:
8607586082
- $ref: "#/components/schemas/PatchTableRequestDataAttributesFileMetadataLocalFile"
8607686083
PatchTableRequestDataAttributesFileMetadataCloudStorage:
8607786084
additionalProperties: false
86078-
description: Cloud storage file metadata for patch requests. Allows partial updates of access_details and sync_enabled.
86085+
description: >-
86086+
Cloud storage file metadata for patch requests. Allows partial updates of access_details and sync_enabled.
8607986087
properties:
8608086088
access_details:
8608186089
$ref: "#/components/schemas/PatchTableRequestDataAttributesFileMetadataOneOfAccessDetails"
@@ -86174,7 +86182,8 @@ components:
8617486182
x-oneOf-parent:
8617586183
- GcpDetail
8617686184
PatchTableRequestDataAttributesSchema:
86177-
description: Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed.
86185+
description: >-
86186+
Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed.
8617886187
properties:
8617986188
fields:
8618086189
description: The schema fields. Maximum of 200 columns.
@@ -86184,7 +86193,8 @@ components:
8618486193
minItems: 1
8618586194
type: array
8618686195
primary_keys:
86187-
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows. Primary keys cannot be changed after table creation.
86196+
description: >-
86197+
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows. Primary keys cannot be changed after table creation.
8618886198
example:
8618986199
- "field_1"
8619086200
items:
@@ -86196,7 +86206,8 @@ components:
8619686206
- primary_keys
8619786207
type: object
8619886208
PatchTableRequestDataAttributesSchemaFieldsItems:
86199-
description: A single field (column) in the reference table schema to be updated. Schema fields cannot be deleted or renamed.
86209+
description: >-
86210+
A single field (column) in the reference table schema to be updated. Schema fields cannot be deleted or renamed.
8620086211
properties:
8620186212
name:
8620286213
description: The field name.
@@ -93025,7 +93036,8 @@ components:
9302593036
type: string
9302693037
type: object
9302793038
ReferenceTableCreateSourceType:
93028-
description: The source type for creating reference table data. Only these source types can be created through this API.
93039+
description: >-
93040+
The source type for creating reference table data. Only these source types can be created through this API.
9302993041
enum:
9303093042
- LOCAL_FILE
9303193043
- S3
@@ -93050,7 +93062,8 @@ components:
9305093062
- INT32
9305193063
ReferenceTableSortType:
9305293064
default: "-updated_at"
93053-
description: Sort field and direction for reference tables. Use field name for ascending, prefix with "-" for descending.
93065+
description: >-
93066+
Sort field and direction for reference tables. Use field name for ascending, prefix with "-" for descending.
9305493067
enum:
9305593068
- updated_at
9305693069
- table_name
@@ -93067,7 +93080,8 @@ components:
9306793080
- MINUS_TABLE_NAME
9306893081
- MINUS_STATUS
9306993082
ReferenceTableSourceType:
93070-
description: The source type for reference table data. Includes all possible source types that can appear in responses.
93083+
description: >-
93084+
The source type for reference table data. Includes all possible source types that can appear in responses.
9307193085
enum:
9307293086
- LOCAL_FILE
9307393087
- S3
@@ -119501,22 +119515,26 @@ components:
119501119515
$ref: "#/components/schemas/TableResultV2DataAttributesFileMetadataOneOfAccessDetails"
119502119516
description: Cloud storage access configuration. Only present for cloud storage sources (S3, GCS, Azure).
119503119517
error_message:
119504-
description: The error message returned from the last operation (sync for cloud storage, upload for local file).
119518+
description: >-
119519+
The error message returned from the last operation (sync for cloud storage, upload for local file).
119505119520
type: string
119506119521
error_row_count:
119507119522
description: The number of rows that failed to process.
119508119523
format: int64
119509119524
type: integer
119510119525
error_type:
119511119526
$ref: "#/components/schemas/TableResultV2DataAttributesFileMetadataCloudStorageErrorType"
119512-
description: The type of error that occurred during file processing. Only applicable for cloud storage sources.
119527+
description: >-
119528+
The type of error that occurred during file processing. Only applicable for cloud storage sources.
119513119529
sync_enabled:
119514-
description: Whether this table is synced automatically from cloud storage. Only applicable for cloud storage sources.
119530+
description: >-
119531+
Whether this table is synced automatically from cloud storage. Only applicable for cloud storage sources.
119515119532
type: boolean
119516119533
title: FileMetadataV2
119517119534
type: object
119518119535
TableResultV2DataAttributesFileMetadataCloudStorageErrorType:
119519-
description: The type of error that occurred during file processing. This field provides high-level error categories for easier troubleshooting and is only present when there are errors.
119536+
description: >-
119537+
The type of error that occurred during file processing. This field provides high-level error categories for easier troubleshooting and is only present when there are errors.
119520119538
enum:
119521119539
- TABLE_SCHEMA_ERROR
119522119540
- FILE_FORMAT_ERROR
@@ -119625,7 +119643,8 @@ components:
119625119643
minItems: 1
119626119644
type: array
119627119645
primary_keys:
119628-
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
119646+
description: >-
119647+
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
119629119648
example:
119630119649
- "field_1"
119631119650
items:
@@ -195157,7 +195176,8 @@ paths:
195157195176
- timeseries_query
195158195177
/api/v2/reference-tables/queries/batch-rows:
195159195178
post:
195160-
description: Batch query reference table rows by their primary key values. Returns only found rows in the included array.
195179+
description: >-
195180+
Batch query reference table rows by their primary key values. Returns only found rows in the included array.
195161195181
operationId: BatchRowsQuery
195162195182
requestBody:
195163195183
content:
@@ -195204,7 +195224,8 @@ paths:
195204195224
type: reference-tables-batch-rows-query
195205195225
schema:
195206195226
$ref: "#/components/schemas/BatchRowsQueryResponse"
195207-
description: Successfully retrieved rows. Some or all requested rows were found. Response includes found rows in the included section.
195227+
description: >-
195228+
Successfully retrieved rows. Some or all requested rows were found. Response includes found rows in the included section.
195208195229
"400":
195209195230
$ref: "#/components/responses/BadRequestResponse"
195210195231
"403":
@@ -195252,7 +195273,8 @@ paths:
195252195273
format: int64
195253195274
minimum: 0
195254195275
type: integer
195255-
- description: Sort field and direction for the list of reference tables. Use field name for ascending, prefix with "-" for descending.
195276+
- description: >-
195277+
Sort field and direction for the list of reference tables. Use field name for ascending, prefix with "-" for descending.
195256195278
example: "-updated_at"
195257195279
in: query
195258195280
name: sort
@@ -195750,7 +195772,8 @@ paths:
195750195772
- Reference Tables
195751195773
/api/v2/reference-tables/tables/{id}/rows/list:
195752195774
get:
195753-
description: List all rows in a reference table using cursor-based pagination. Pass the `page[continuation_token]` from the previous response to fetch the next page on the same consistent snapshot. Returns 400 for tables with more than 10,000,000 rows.
195775+
description: >-
195776+
List all rows in a reference table using cursor-based pagination. Pass the `page[continuation_token]` from the previous response to fetch the next page on the same consistent snapshot. Returns 400 for tables with more than 10,000,000 rows.
195754195777
operationId: ListReferenceTableRows
195755195778
parameters:
195756195779
- description: Unique identifier of the reference table to list rows from.
@@ -195771,7 +195794,8 @@ paths:
195771195794
maximum: 1000
195772195795
minimum: 1
195773195796
type: integer
195774-
- description: Opaque cursor from the previous response's next link. Pass this to retrieve the next page on the same consistent snapshot.
195797+
- description: >-
195798+
Opaque cursor from the previous response's next link. Pass this to retrieve the next page on the same consistent snapshot.
195775195799
example: "eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ=="
195776195800
in: query
195777195801
name: page[continuation_token]
@@ -195794,9 +195818,9 @@ paths:
195794195818
id: 102.130.113.9
195795195819
type: row
195796195820
links:
195797-
first: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Blimit%5D=100"
195798-
next: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjY5NzA0ODkwNDE4ODA3MTAzOTgsInBrIjoiMTAyLjEzMC4xMjcuMTE3In0%3D&page%5Blimit%5D=100"
195799-
self: "/api/v2/reference-tables/tables/00000000-0000-0000-0000-000000000000/rows/list?page%5Bcontinuation_token%5D=eyJzaWQiOjEyMzQ1LCJwayI6ImV4YW1wbGVfcGsifQ%3D%3D&page%5Blimit%5D=100"
195821+
first: "/api/v2/reference-tables/tables/<TABLE_ID>/rows/list?page[limit]=100"
195822+
next: "/api/v2/reference-tables/tables/<TABLE_ID>/rows/list?page[continuation_token]=<NEXT_CONTINUATION_TOKEN>"
195823+
self: "/api/v2/reference-tables/tables/<TABLE_ID>/rows/list?page[continuation_token]=<CONTINUATION_TOKEN>"
195800195824
schema:
195801195825
$ref: "#/components/schemas/ListRowsResponse"
195802195826
description: OK

‎src/datadog_api_client/v2/api/reference_tables_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def batch_rows_query(
347347
) -> BatchRowsQueryResponse:
348348
"""Batch rows query.
349349
350-
Batch query reference table rows by their primary key values. Returns only found rows in the included array.
350+
Batch query reference table rows by their primary key values. Returns only found rows in the included array.
351351
352352
:type body: BatchRowsQueryRequest
353353
:rtype: BatchRowsQueryResponse

‎src/datadog_api_client/v2/model/batch_delete_rows_request_array.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class BatchDeleteRowsRequestArray(ModelNormal):
1919
validations = {
2020
"data": {
21-
"max_items": 200,
21+
"max_items": 45589,
2222
},
2323
}
2424

@@ -38,7 +38,7 @@ def __init__(self_, data: List[TableRowResourceIdentifier], **kwargs):
3838
"""
3939
The request body for deleting multiple rows from a reference table.
4040
41-
:param data: List of row resources to delete from the reference table.
41+
:param data: List of row resources to delete from the reference table. The request payload can be up to 1 MiB.
4242
:type data: [TableRowResourceIdentifier]
4343
"""
4444
super().__init__(kwargs)

‎src/datadog_api_client/v2/model/batch_upsert_rows_request_array.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class BatchUpsertRowsRequestArray(ModelNormal):
1919
validations = {
2020
"data": {
21-
"max_items": 200,
21+
"max_items": 20971,
2222
},
2323
}
2424

@@ -38,7 +38,7 @@ def __init__(self_, data: List[BatchUpsertRowsRequestData], **kwargs):
3838
"""
3939
The request body for creating or updating multiple rows into a reference table.
4040
41-
:param data: List of row resources to create or update in the reference table.
41+
:param data: List of row resources to create or update in the reference table. The request payload can be up to 1 MiB.
4242
:type data: [BatchUpsertRowsRequestData]
4343
"""
4444
super().__init__(kwargs)

0 commit comments

Comments
 (0)