Skip to content

Commit

Permalink
Regenerate client from commit a7d9eeca of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 1, 2023
1 parent 90083ba commit 3c2cc07
Show file tree
Hide file tree
Showing 15 changed files with 452 additions and 445 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.4",
"regenerated": "2023-02-01 12:22:13.464614",
"spec_repo_commit": "0563dbc3"
"regenerated": "2023-02-01 18:26:41.020404",
"spec_repo_commit": "a7d9eeca"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-01 12:22:13.476507",
"spec_repo_commit": "0563dbc3"
"regenerated": "2023-02-01 18:26:41.033732",
"spec_repo_commit": "a7d9eeca"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19082,7 +19082,7 @@ paths:
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Create a service account
tags:
- Users
- Service Accounts
x-codegen-request-body-name: body
/api/v2/service_accounts/{service_account_id}/application_keys:
get:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2023-01-30T14:58:54.329Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
{
"log": {
"_recordingName": "Service Accounts/Create a service account returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "cdeb7bdc9518a40b13df40cde387ba4f",
"_order": 0,
"cache": {},
"request": {
"bodySize": 110,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "application/json"
},
{
"_fromType": "array",
"name": "content-type",
"value": "application/json"
}
],
"headersSize": 550,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_service_account_returns_OK_response-1675090734\"},\"type\":\"roles\"}}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/roles"
},
"response": {
"bodySize": 831,
"content": {
"mimeType": "application/json",
"size": 831,
"text": "{\"data\":{\"type\":\"roles\",\"id\":\"9d7c873e-a0ae-11ed-975e-da7ad0900002\",\"attributes\":{\"name\":\"Test-Create_a_service_account_returns_OK_response-1675090734\",\"created_at\":\"2023-01-30T14:58:54.528421+00:00\",\"modified_at\":\"2023-01-30T14:58:54.566829+00:00\"},\"relationships\":{\"permissions\":{\"data\":[{\"type\":\"permissions\",\"id\":\"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2\"},{\"type\":\"permissions\",\"id\":\"4441648c-d8b1-11e9-a77a-1b899a04b304\"},{\"type\":\"permissions\",\"id\":\"417ba636-2dce-11eb-84c0-6bce5b0d9de0\"},{\"type\":\"permissions\",\"id\":\"12efc20e-d36c-11eb-a9b8-da7ad0900002\"},{\"type\":\"permissions\",\"id\":\"7605ef24-f376-11eb-b90b-da7ad0900002\"},{\"type\":\"permissions\",\"id\":\"b6bf9ac6-9a59-11ec-8480-da7ad0900002\"},{\"type\":\"permissions\",\"id\":\"f8e941cf-e746-11ec-b22d-da7ad0900002\"},{\"type\":\"permissions\",\"id\":\"6c5ad874-7aff-11ed-a5cd-da7ad0900002\"}]}}}}\n"
},
"cookies": [],
"headers": [
{
"name": "content-type",
"value": "application/json"
}
],
"headersSize": 616,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2023-01-30T14:58:54.339Z",
"time": 266
},
{
"_id": "25684d190da98bad27557b5842a8dc25",
"_order": 0,
"cache": {},
"request": {
"bodySize": 271,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "application/json"
},
{
"_fromType": "array",
"name": "content-type",
"value": "application/json"
}
],
"headersSize": 571,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_service_account_returns_OK_response-1675090734@datadoghq.com\",\"name\":\"Test API Client\",\"service_account\":true},\"relationships\":{\"roles\":{\"data\":[{\"id\":\"9d7c873e-a0ae-11ed-975e-da7ad0900002\",\"type\":\"roles\"}]}},\"type\":\"users\"}}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/service_accounts"
},
"response": {
"bodySize": 3886,
"content": {
"mimeType": "application/json",
"size": 3886,
"text": "{\"data\":{\"type\":\"users\",\"id\":\"9d9c0565-a0ae-11ed-88af-be56a8628f3f\",\"attributes\":{\"name\":\"Test API Client\",\"handle\":\"9d9c0565-a0ae-11ed-88af-be56a8628f3f\",\"created_at\":\"2023-01-30T14:58:54.736093+00:00\",\"modified_at\":\"2023-01-30T14:58:54.738680+00:00\",\"email\":\"test-create_a_service_account_returns_ok_response-1675090734@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/5bf68b66c63c55ddb80602fc2d183c28?s=48&d=retro\",\"title\":null,\"verified\":true,\"service_account\":true,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Active\"},\"relationships\":{\"roles\":{\"data\":[{\"type\":\"roles\",\"id\":\"9d7c873e-a0ae-11ed-975e-da7ad0900002\"}]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}},\"included\":[{\"type\":\"roles\",\"id\":\"9d7c873e-a0ae-11ed-975e-da7ad0900002\",\"attributes\":{\"name\":\"Test-Create_a_service_account_returns_OK_response-1675090734\",\"created_at\":\"2023-01-30T14:58:54.528421+00:00\",\"modified_at\":\"2023-01-30T14:58:54.566829+00:00\"},\"relationships\":{\"permissions\":{\"data\":[{\"type\":\"permissions\",\"id\":\"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2\"},{\"type\":\"permissions\",\"id\":\"4441648c-d8b1-11e9-a77a-1b899a04b304\"},{\"type\":\"permissions\",\"id\":\"417ba636-2dce-11eb-84c0-6bce5b0d9de0\"},{\"type\":\"permissions\",\"id\":\"12efc20e-d36c-11eb-a9b8-da7ad0900002\"},{\"type\":\"permissions\",\"id\":\"7605ef24-f376-11eb-b90b-da7ad0900002\"},{\"type\":\"permissions\",\"id\":\"b6bf9ac6-9a59-11ec-8480-da7ad0900002\"},{\"type\":\"permissions\",\"id\":\"f8e941cf-e746-11ec-b22d-da7ad0900002\"},{\"type\":\"permissions\",\"id\":\"6c5ad874-7aff-11ed-a5cd-da7ad0900002\"}]}}},{\"type\":\"permissions\",\"id\":\"d90f6830-d3d8-11e9-a77a-b3404e5e9ee2\",\"attributes\":{\"name\":\"dashboards_read\",\"display_name\":\"Dashboards Read\",\"description\":\"View dashboards.\",\"created\":\"2019-09-10T14:39:51.955175+00:00\",\"group_name\":\"Dashboards\",\"display_type\":\"read\",\"restricted\":true}},{\"type\":\"permissions\",\"id\":\"4441648c-d8b1-11e9-a77a-1b899a04b304\",\"attributes\":{\"name\":\"monitors_read\",\"display_name\":\"Monitors Read\",\"description\":\"View monitors.\",\"created\":\"2019-09-16T18:39:07.744297+00:00\",\"group_name\":\"Monitors\",\"display_type\":\"read\",\"restricted\":true}},{\"type\":\"permissions\",\"id\":\"417ba636-2dce-11eb-84c0-6bce5b0d9de0\",\"attributes\":{\"name\":\"apm_read\",\"display_name\":\"APM Read\",\"description\":\"Read and query APM and Trace Analytics.\",\"created\":\"2020-11-23T20:55:45.006110+00:00\",\"group_name\":\"APM\",\"display_type\":\"read\",\"restricted\":true}},{\"type\":\"permissions\",\"id\":\"12efc20e-d36c-11eb-a9b8-da7ad0900002\",\"attributes\":{\"name\":\"incident_read\",\"display_name\":\"Incident Read\",\"description\":\"View incidents in Datadog.\",\"created\":\"2021-06-22T15:11:09.255499+00:00\",\"group_name\":\"Case and Incident Management\",\"display_type\":\"read\",\"restricted\":true}},{\"type\":\"permissions\",\"id\":\"7605ef24-f376-11eb-b90b-da7ad0900002\",\"attributes\":{\"name\":\"rum_apps_read\",\"display_name\":\"RUM Apps Read\",\"description\":\"View RUM Applications data.\",\"created\":\"2021-08-02T09:46:07.671535+00:00\",\"group_name\":\"Real User Monitoring\",\"display_type\":\"read\",\"restricted\":true}},{\"type\":\"permissions\",\"id\":\"b6bf9ac6-9a59-11ec-8480-da7ad0900002\",\"attributes\":{\"name\":\"notebooks_read\",\"display_name\":\"Notebooks Read\",\"description\":\"View notebooks.\",\"created\":\"2022-03-02T18:51:05.040950+00:00\",\"group_name\":\"Notebooks\",\"display_type\":\"read\",\"restricted\":true}},{\"type\":\"permissions\",\"id\":\"f8e941cf-e746-11ec-b22d-da7ad0900002\",\"attributes\":{\"name\":\"slos_read\",\"display_name\":\"SLOs Read\",\"description\":\"View SLOs and status corrections.\",\"created\":\"2022-06-08T16:20:55.142591+00:00\",\"group_name\":\"Service Level Objectives\",\"display_type\":\"read\",\"restricted\":true}},{\"type\":\"permissions\",\"id\":\"6c5ad874-7aff-11ed-a5cd-da7ad0900002\",\"attributes\":{\"name\":\"ci_visibility_read\",\"display_name\":\"CI Visibility Read\",\"description\":\"View CI Visibility.\",\"created\":\"2022-12-13T16:01:37.149406+00:00\",\"group_name\":\"CI Visibility\",\"display_type\":\"read\",\"restricted\":true}}]}\n"
},
"cookies": [],
"headers": [
{
"name": "content-type",
"value": "application/json"
}
],
"headersSize": 631,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 201,
"statusText": "Created"
},
"startedDateTime": "2023-01-30T14:58:54.620Z",
"time": 206
},
{
"_id": "e92fe68cc6048b41216538114721c7f3",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "*/*"
}
],
"headersSize": 524,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/users/9d9c0565-a0ae-11ed-88af-be56a8628f3f"
},
"response": {
"bodySize": 0,
"content": {
"mimeType": "text/plain",
"size": 0
},
"cookies": [],
"headers": [],
"headersSize": 437,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 204,
"statusText": "No Content"
},
"startedDateTime": "2023-01-30T14:58:54.841Z",
"time": 195
},
{
"_id": "7656eeb45c26d8bd1007e209ce34f633",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "*/*"
}
],
"headersSize": 523,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/roles/9d7c873e-a0ae-11ed-975e-da7ad0900002"
},
"response": {
"bodySize": 0,
"content": {
"mimeType": "text/html; charset=utf-8",
"size": 0
},
"cookies": [],
"headers": [
{
"name": "content-type",
"value": "text/html; charset=utf-8"
}
],
"headersSize": 603,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 204,
"statusText": "No Content"
},
"startedDateTime": "2023-01-30T14:58:55.042Z",
"time": 233
}
],
"pages": [],
"version": "1.2"
}
}

This file was deleted.

Loading

0 comments on commit 3c2cc07

Please sign in to comment.