Skip to content

Commit 39ee65f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add API Key ID to rum application response (#2835)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent fcc92c1 commit 39ee65f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35837,6 +35837,12 @@ components:
3583735837
RUMApplicationAttributes:
3583835838
description: RUM application attributes.
3583935839
properties:
35840+
api_key_id:
35841+
description: ID of the API key associated with the application.
35842+
example: 123456789
35843+
format: int32
35844+
maximum: 2147483647
35845+
type: integer
3584035846
application_id:
3584135847
description: ID of the RUM application.
3584235848
example: abcd1234-0000-0000-abcd-1234abcd5678

services/rum/src/v2/models/RUMApplicationAttributes.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import { RUMProductScales } from "./RUMProductScales";
66
* RUM application attributes.
77
*/
88
export class RUMApplicationAttributes {
9+
/**
10+
* ID of the API key associated with the application.
11+
*/
12+
"apiKeyId"?: number;
913
/**
1014
* ID of the RUM application.
1115
*/
@@ -69,6 +73,11 @@ export class RUMApplicationAttributes {
6973
* @ignore
7074
*/
7175
static readonly attributeTypeMap: AttributeTypeMap = {
76+
apiKeyId: {
77+
baseName: "api_key_id",
78+
type: "number",
79+
format: "int32",
80+
},
7281
applicationId: {
7382
baseName: "application_id",
7483
type: "string",

0 commit comments

Comments
 (0)