Skip to content

Commit

Permalink
Regenerate client from commit fc36d026 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jul 17, 2024
1 parent f08cbe7 commit 37c6c9b
Show file tree
Hide file tree
Showing 26 changed files with 6,014 additions and 4,936 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-07-17 08:36:08.394705",
"spec_repo_commit": "f77e7cb2"
"regenerated": "2024-07-17 15:33:58.210143",
"spec_repo_commit": "fc36d026"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-07-17 08:36:08.412103",
"spec_repo_commit": "f77e7cb2"
"regenerated": "2024-07-17 15:33:58.227912",
"spec_repo_commit": "fc36d026"
}
}
}
210 changes: 210 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,13 @@ components:
required: true
schema:
type: string
InstanceId:
description: The ID of the workflow instance.
in: path
name: instance_id
required: true
schema:
type: string
MetricID:
description: The name of the log-based metric.
in: path
Expand Down Expand Up @@ -536,6 +543,13 @@ components:
schema:
example: 00000000-0000-9999-0000-000000000000
type: string
WorkflowId:
description: The ID of the workflow.
in: path
name: workflow_id
required: true
schema:
type: string
requestBodies: {}
responses:
BadRequestResponse:
Expand Down Expand Up @@ -23255,6 +23269,55 @@ components:
- PAST_SIX_MONTHS
- PAST_ONE_YEAR
- ALERT
WorkflowInstanceCreateMeta:
description: Additional information for creating a workflow instance.
properties:
payload:
additionalProperties: {}
description: The input parameters to the workflow.
type: object
type: object
WorkflowInstanceCreateRequest:
description: Request used to create a workflow instance.
properties:
meta:
$ref: '#/components/schemas/WorkflowInstanceCreateMeta'
type: object
WorkflowInstanceCreateResponse:
description: Response returned upon successful workflow instance creation.
properties:
data:
$ref: '#/components/schemas/WorkflowInstanceCreateResponseData'
type: object
WorkflowInstanceCreateResponseData:
description: Data about the created workflow instance.
properties:
id:
description: The ID of the workflow execution. It can be used to fetch the
execution status.
type: string
type: object
WorkflowInstanceListItem:
additionalProperties: {}
description: An item in the workflow instances list.
type: object
WorkflowListInstancesResponse:
description: Response returned when listing workflow instances.
properties:
data:
description: A list of workflow instances.
items:
$ref: '#/components/schemas/WorkflowInstanceListItem'
type: array
type: object
WorklflowCancelInstanceResponse:
additionalProperties: {}
description: Information about the canceled instance.
type: object
WorklflowGetInstanceResponse:
additionalProperties: {}
description: The state of the given workflow instance.
type: object
securitySchemes:
AuthZ:
description: This API uses OAuth 2 with the implicit grant flow.
Expand Down Expand Up @@ -37028,6 +37091,148 @@ paths:
summary: Get user memberships
tags:
- Teams
/api/v2/workflows/{workflow_id}/instances:
get:
description: List all instances of a given workflow.
operationId: ListWorkflowInstances
parameters:
- $ref: '#/components/parameters/WorkflowId'
- $ref: '#/components/parameters/PageSize'
- $ref: '#/components/parameters/PageNumber'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowListInstancesResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: List workflow instances
tags:
- Workflow Automation
post:
description: Execute the given workflow
operationId: CreateWorkflowInstance
parameters:
- $ref: '#/components/parameters/WorkflowId'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowInstanceCreateRequest'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/WorkflowInstanceCreateResponse'
description: Created
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Execute a workflow
tags:
- Workflow Automation
x-codegen-request-body-name: body
/api/v2/workflows/{workflow_id}/instances/{instance_id}:
get:
description: Get a specific execution of a given workflow.
operationId: GetWorkflowInstance
parameters:
- $ref: '#/components/parameters/WorkflowId'
- $ref: '#/components/parameters/InstanceId'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/WorklflowGetInstanceResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Get a workflow instance
tags:
- Workflow Automation
/api/v2/workflows/{workflow_id}/instances/{instance_id}/cancel:
put:
description: Cancels a specific execution of a given workflow.
operationId: CancelWorkflowInstance
parameters:
- $ref: '#/components/parameters/WorkflowId'
- $ref: '#/components/parameters/InstanceId'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/WorklflowCancelInstanceResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Cancel a workflow instance
tags:
- Workflow Automation
x-merge-override:
/api/v2/apicatalog/api: true
/api/v2/apm/config/metrics: true
Expand Down Expand Up @@ -37472,4 +37677,9 @@ tags:
externalDocs:
url: https://docs.datadoghq.com/account_management/users
name: Users
- description: Automate your teams operational processes with Datadog Workflow Automation.
externalDocs:
description: Find out more at
url: https://docs.datadoghq.com/service_management/workflows/
name: Workflow Automation
x-group-parameters: true
31 changes: 19 additions & 12 deletions docs/datadog_api_client.rst
Original file line number Diff line number Diff line change
@@ -1,48 +1,55 @@
datadog\_api\_client
====================
datadog\_api\_client package
============================

Subpackages
-----------

.. toctree::
:maxdepth: 4

datadog_api_client.v1
datadog_api_client.v2

Submodules
----------

api\_client
-----------
datadog\_api\_client.api\_client module
---------------------------------------

.. automodule:: datadog_api_client.api_client
:members:
:show-inheritance:

configuration
-------------
datadog\_api\_client.configuration module
-----------------------------------------

.. automodule:: datadog_api_client.configuration
:members:
:show-inheritance:

exceptions
----------
datadog\_api\_client.exceptions module
--------------------------------------

.. automodule:: datadog_api_client.exceptions
:members:
:show-inheritance:

model\_utils
------------
datadog\_api\_client.model\_utils module
----------------------------------------

.. automodule:: datadog_api_client.model_utils
:members:
:show-inheritance:

rest
----
datadog\_api\_client.rest module
--------------------------------

.. automodule:: datadog_api_client.rest
:members:
:show-inheritance:

Module contents
---------------

.. automodule:: datadog_api_client
:members:
Expand Down
Loading

0 comments on commit 37c6c9b

Please sign in to comment.