-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add trigger API documentation for workflow automation (#1687)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
- Loading branch information
1 parent
929c755
commit cf2cb9f
Showing
45 changed files
with
2,439 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...3507381207/Cancel-a-workflow-instance-returns-Bad-Request-response_2100959420/frozen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"2024-07-24T18:39:57.489Z" |
57 changes: 57 additions & 0 deletions
57
...07381207/Cancel-a-workflow-instance-returns-Bad-Request-response_2100959420/recording.har
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"log": { | ||
"_recordingName": "Workflow Automation/Cancel a workflow instance returns \"Bad Request\" response", | ||
"creator": { | ||
"comment": "persister:fs", | ||
"name": "Polly.JS", | ||
"version": "6.0.5" | ||
}, | ||
"entries": [ | ||
{ | ||
"_id": "98b0f3208080a6600c1990114cba0bd8", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 0, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"_fromType": "array", | ||
"name": "accept", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 568, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "PUT", | ||
"queryString": [], | ||
"url": "https://api.datadoghq.com/api/v2/workflows/malformed/instances/malformed/cancel" | ||
}, | ||
"response": { | ||
"bodySize": 105, | ||
"content": { | ||
"mimeType": "application/json", | ||
"size": 105, | ||
"text": "{\"errors\":[{\"code\":\"INVALID_FIELD_VALUE\",\"detail\":\"value <no value> is invalid for field workflow_id\"}]}\n" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 647, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 400, | ||
"statusText": "Bad Request" | ||
}, | ||
"startedDateTime": "2024-07-24T18:39:57.498Z", | ||
"time": 193 | ||
} | ||
], | ||
"pages": [], | ||
"version": "1.2" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...n_3507381207/Cancel-a-workflow-instance-returns-Not-Found-response_2691246011/frozen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"2024-07-24T18:39:57.698Z" |
57 changes: 57 additions & 0 deletions
57
...3507381207/Cancel-a-workflow-instance-returns-Not-Found-response_2691246011/recording.har
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"log": { | ||
"_recordingName": "Workflow Automation/Cancel a workflow instance returns \"Not Found\" response", | ||
"creator": { | ||
"comment": "persister:fs", | ||
"name": "Polly.JS", | ||
"version": "6.0.5" | ||
}, | ||
"entries": [ | ||
{ | ||
"_id": "0f7c001df65a23839d1229ec52bc73cb", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 0, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"_fromType": "array", | ||
"name": "accept", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 622, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "PUT", | ||
"queryString": [], | ||
"url": "https://api.datadoghq.com/api/v2/workflows/0233a3b7-b7ba-425e-a8cc-375ca2020b5b/instances/e0c64dc8-f946-4ae8-8d79-54569031ce67/cancel" | ||
}, | ||
"response": { | ||
"bodySize": 110, | ||
"content": { | ||
"mimeType": "application/json", | ||
"size": 110, | ||
"text": "{\"errors\":[{\"code\":\"INSTANCE_NOT_FOUND\",\"detail\":\"instance e0c64dc8-f946-4ae8-8d79-54569031ce67 not found\"}]}\n" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 647, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 404, | ||
"statusText": "Not Found" | ||
}, | ||
"startedDateTime": "2024-07-24T18:39:57.700Z", | ||
"time": 118 | ||
} | ||
], | ||
"pages": [], | ||
"version": "1.2" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...tomation_3507381207/Cancel-a-workflow-instance-returns-OK-response_3172322146/frozen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"2024-07-24T18:39:57.827Z" |
Oops, something went wrong.