Skip to content

Commit 849ff25

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5f83ba1 of spec repo
1 parent 992fab4 commit 849ff25

File tree

39 files changed

+2
-3908
lines changed

39 files changed

+2
-3908
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 304 deletions
Original file line numberDiff line numberDiff line change
@@ -5385,72 +5385,6 @@ components:
53855385
example: _latest
53865386
type: string
53875387
type: object
5388-
AssignSeatsUserRequest:
5389-
properties:
5390-
data:
5391-
$ref: '#/components/schemas/AssignSeatsUserRequestData'
5392-
description: The data for the assign seats user request.
5393-
type: object
5394-
AssignSeatsUserRequestData:
5395-
properties:
5396-
attributes:
5397-
$ref: '#/components/schemas/AssignSeatsUserRequestDataAttributes'
5398-
description: The attributes of the assign seats user request.
5399-
id:
5400-
description: The ID of the assign seats user request.
5401-
type: string
5402-
type:
5403-
$ref: '#/components/schemas/SeatAssignmentsDataType'
5404-
description: The type of the assign seats user request.
5405-
required:
5406-
- type
5407-
- attributes
5408-
type: object
5409-
AssignSeatsUserRequestDataAttributes:
5410-
properties:
5411-
product_code:
5412-
description: The product code for which to assign seats.
5413-
example: ''
5414-
type: string
5415-
user_uuids:
5416-
description: The list of user IDs to assign seats to.
5417-
example:
5418-
- ''
5419-
items:
5420-
type: string
5421-
type: array
5422-
required:
5423-
- product_code
5424-
- user_uuids
5425-
type: object
5426-
AssignSeatsUserResponse:
5427-
properties:
5428-
data:
5429-
$ref: '#/components/schemas/AssignSeatsUserResponseData'
5430-
description: The data for the assign seats user response.
5431-
type: object
5432-
AssignSeatsUserResponseData:
5433-
properties:
5434-
attributes:
5435-
$ref: '#/components/schemas/AssignSeatsUserResponseDataAttributes'
5436-
description: The attributes of the assign seats user response.
5437-
id:
5438-
description: The ID of the assign seats user response.
5439-
type: string
5440-
type:
5441-
$ref: '#/components/schemas/SeatAssignmentsDataType'
5442-
type: object
5443-
AssignSeatsUserResponseDataAttributes:
5444-
properties:
5445-
assigned_ids:
5446-
description: The list of user IDs to which the seats were assigned.
5447-
items:
5448-
type: string
5449-
type: array
5450-
product_code:
5451-
description: The product code for which the seats were assigned.
5452-
type: string
5453-
type: object
54545388
AttachCaseRequest:
54555389
description: Request for attaching security findings to a case.
54565390
properties:
@@ -52709,80 +52643,6 @@ components:
5270952643
- ISSUE_ASSIGNEE
5271052644
- ISSUE_CASE
5271152645
- ISSUE_TEAM_OWNERS
52712-
SeatAssignmentsDataType:
52713-
default: seat-assignments
52714-
description: Seat assignments resource type.
52715-
enum:
52716-
- seat-assignments
52717-
example: seat-assignments
52718-
type: string
52719-
x-enum-varnames:
52720-
- SEAT_ASSIGNMENTS
52721-
SeatUserData:
52722-
properties:
52723-
attributes:
52724-
$ref: '#/components/schemas/SeatUserDataAttributes'
52725-
description: The attributes of the seat user.
52726-
id:
52727-
description: The ID of the seat user.
52728-
example: 00000000-0000-0000-0000-000000000000
52729-
nullable: true
52730-
type: string
52731-
type:
52732-
$ref: '#/components/schemas/SeatUserDataType'
52733-
type: object
52734-
SeatUserDataArray:
52735-
properties:
52736-
data:
52737-
description: The list of seat users.
52738-
items:
52739-
$ref: '#/components/schemas/SeatUserData'
52740-
type: array
52741-
meta:
52742-
$ref: '#/components/schemas/SeatUserMeta'
52743-
description: The metadata of the seat users.
52744-
type: object
52745-
SeatUserDataAttributes:
52746-
properties:
52747-
assigned_at:
52748-
description: The date and time the seat was assigned.
52749-
example: '2021-01-01T00:00:00Z'
52750-
format: date-time
52751-
nullable: true
52752-
type: string
52753-
email:
52754-
description: The email of the user.
52755-
example: user@example.com
52756-
nullable: true
52757-
type: string
52758-
name:
52759-
description: The name of the user.
52760-
example: John Doe
52761-
nullable: true
52762-
type: string
52763-
type: object
52764-
SeatUserDataType:
52765-
default: seat-users
52766-
description: Seat users resource type.
52767-
enum:
52768-
- seat-users
52769-
example: seat-users
52770-
type: string
52771-
x-enum-varnames:
52772-
- SEAT_USERS
52773-
SeatUserMeta:
52774-
properties:
52775-
cursor:
52776-
description: The cursor for the seat users.
52777-
type: string
52778-
limit:
52779-
description: The limit for the seat users.
52780-
format: int64
52781-
type: integer
52782-
next_cursor:
52783-
description: The next cursor for the seat users.
52784-
type: string
52785-
type: object
5278652646
SecretRuleArray:
5278752647
properties:
5278852648
data:
@@ -64964,44 +64824,6 @@ components:
6496464824
type: string
6496564825
x-enum-varnames:
6496664826
- AZURE_UC_CONFIGS
64967-
UnassignSeatsUserRequest:
64968-
properties:
64969-
data:
64970-
$ref: '#/components/schemas/UnassignSeatsUserRequestData'
64971-
description: The data for the unassign seats user request.
64972-
type: object
64973-
UnassignSeatsUserRequestData:
64974-
properties:
64975-
attributes:
64976-
$ref: '#/components/schemas/UnassignSeatsUserRequestDataAttributes'
64977-
description: The attributes of the unassign seats user request.
64978-
id:
64979-
description: The ID of the unassign seats user request.
64980-
type: string
64981-
type:
64982-
$ref: '#/components/schemas/SeatAssignmentsDataType'
64983-
description: The type of the unassign seats user request.
64984-
required:
64985-
- type
64986-
- attributes
64987-
type: object
64988-
UnassignSeatsUserRequestDataAttributes:
64989-
properties:
64990-
product_code:
64991-
description: The product code for which to unassign seats.
64992-
example: ''
64993-
type: string
64994-
user_uuids:
64995-
description: The list of user IDs to unassign seats from.
64996-
example:
64997-
- ''
64998-
items:
64999-
type: string
65000-
type: array
65001-
required:
65002-
- product_code
65003-
- user_uuids
65004-
type: object
6500564827
Unit:
6500664828
description: Object containing the metric unit family, scale factor, name, and
6500764829
short name.
@@ -74773,10 +74595,7 @@ paths:
7477374595

7477474596
This endpoint provides overall coverage metrics as well as breakdowns by service
7477574597

74776-
and code owner.
74777-
74778-
74779-
**Note**: This endpoint requires the `code_coverage_read` permission.'
74598+
and code owner.'
7478074599
operationId: GetCodeCoverageBranchSummary
7478174600
requestBody:
7478274601
content:
@@ -74831,10 +74650,7 @@ paths:
7483174650
and code owner.
7483274651

7483374652

74834-
The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).
74835-
74836-
74837-
**Note**: This endpoint requires the `code_coverage_read` permission.'
74653+
The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).'
7483874654
operationId: GetCodeCoverageCommitSummary
7483974655
requestBody:
7484074656
content:
@@ -93483,121 +93299,6 @@ paths:
9348393299
x-unstable: '**Note**: This endpoint is in public beta.
9348493300

9348593301
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
93486-
/api/v2/seats/users:
93487-
delete:
93488-
description: Unassign seats from users for a product code.
93489-
operationId: UnassignSeatsUser
93490-
requestBody:
93491-
content:
93492-
application/json:
93493-
schema:
93494-
$ref: '#/components/schemas/UnassignSeatsUserRequest'
93495-
required: true
93496-
responses:
93497-
'204':
93498-
description: No Content
93499-
'400':
93500-
$ref: '#/components/responses/BadRequestResponse'
93501-
'422':
93502-
content:
93503-
application/json:
93504-
schema:
93505-
$ref: '#/components/schemas/APIErrorResponse'
93506-
description: Unprocessable Entity
93507-
'429':
93508-
$ref: '#/components/responses/TooManyRequestsResponse'
93509-
summary: Unassign seats from users
93510-
tags:
93511-
- Seats
93512-
x-permission:
93513-
operator: OR
93514-
permissions:
93515-
- billing_edit
93516-
- incident_write
93517-
- on_call_write
93518-
get:
93519-
description: Get the list of users assigned seats for a product code.
93520-
operationId: GetSeatsUsers
93521-
parameters:
93522-
- description: The product code for which to retrieve seat users.
93523-
in: query
93524-
name: product_code
93525-
required: true
93526-
schema:
93527-
type: string
93528-
- description: Maximum number of results to return.
93529-
in: query
93530-
name: page[limit]
93531-
required: false
93532-
schema:
93533-
type: integer
93534-
- description: Cursor for pagination.
93535-
in: query
93536-
name: page[cursor]
93537-
required: false
93538-
schema:
93539-
type: string
93540-
responses:
93541-
'200':
93542-
content:
93543-
application/json:
93544-
schema:
93545-
$ref: '#/components/schemas/SeatUserDataArray'
93546-
description: OK
93547-
'400':
93548-
$ref: '#/components/responses/BadRequestResponse'
93549-
'422':
93550-
content:
93551-
application/json:
93552-
schema:
93553-
$ref: '#/components/schemas/APIErrorResponse'
93554-
description: Unprocessable Entity
93555-
'429':
93556-
$ref: '#/components/responses/TooManyRequestsResponse'
93557-
summary: Get users with seats
93558-
tags:
93559-
- Seats
93560-
x-permission:
93561-
operator: OR
93562-
permissions:
93563-
- billing_read
93564-
- incident_read
93565-
- on_call_read
93566-
post:
93567-
description: Assign seats to users for a product code.
93568-
operationId: AssignSeatsUser
93569-
requestBody:
93570-
content:
93571-
application/json:
93572-
schema:
93573-
$ref: '#/components/schemas/AssignSeatsUserRequest'
93574-
required: true
93575-
responses:
93576-
'201':
93577-
content:
93578-
application/json:
93579-
schema:
93580-
$ref: '#/components/schemas/AssignSeatsUserResponse'
93581-
description: Created
93582-
'400':
93583-
$ref: '#/components/responses/BadRequestResponse'
93584-
'422':
93585-
content:
93586-
application/json:
93587-
schema:
93588-
$ref: '#/components/schemas/APIErrorResponse'
93589-
description: Unprocessable Entity
93590-
'429':
93591-
$ref: '#/components/responses/TooManyRequestsResponse'
93592-
summary: Assign seats to users
93593-
tags:
93594-
- Seats
93595-
x-permission:
93596-
operator: OR
93597-
permissions:
93598-
- billing_edit
93599-
- incident_write
93600-
- on_call_write
9360193302
/api/v2/security-entities/risk-scores:
9360293303
get:
9360393304
description: Get a list of entity risk scores for your organization. Entity
@@ -104747,9 +104448,6 @@ tags:
104747104448
- description: Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list)
104748104449
of RUM for your organization.
104749104450
name: Rum Retention Filters
104750-
- description: The seats API allows you to view, assign, and unassign seats for your
104751-
organization.
104752-
name: Seats
104753104451
- description: Create and manage your security rules, signals, filters, and more.
104754104452
See the [Datadog Security page](https://docs.datadoghq.com/security/) for more
104755104453
information.

examples/v2/seats/AssignSeatsUser.java

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)