Skip to content

Commit 7f22af0

Browse files
api-clients-generation-pipeline[bot]jirikuncarci.datadog-api-spec
authored
Add endpoints for API Keys v2 (#200)
* tests: skip integration-only scenarios when needed * Regenerate client from commit a3d8d1a of spec repo Co-authored-by: Jiri Kuncar <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent dedccfd commit 7f22af0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+5242
-24
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.0",
7-
"regenerated": "2020-12-17 14:42:11.691627",
8-
"spec_repo_commit": "c18e9b3"
7+
"regenerated": "2020-12-18 15:40:21.228354",
8+
"spec_repo_commit": "a3d8d1a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.0",
12-
"regenerated": "2020-12-17 14:42:22.183975",
13-
"spec_repo_commit": "c18e9b3"
12+
"regenerated": "2020-12-18 15:40:32.991290",
13+
"spec_repo_commit": "a3d8d1a"
1414
}
1515
}
1616
}

.openapi-generator/FILES

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ datadog_api_client/v2/api/dashboard_lists_api.py
66
datadog_api_client/v2/api/incident_services_api.py
77
datadog_api_client/v2/api/incident_teams_api.py
88
datadog_api_client/v2/api/incidents_api.py
9+
datadog_api_client/v2/api/key_management_api.py
910
datadog_api_client/v2/api/logs_api.py
1011
datadog_api_client/v2/api/logs_archives_api.py
1112
datadog_api_client/v2/api/processes_api.py
@@ -17,6 +18,17 @@ datadog_api_client/v2/apis/__init__.py
1718
datadog_api_client/v2/configuration.py
1819
datadog_api_client/v2/exceptions.py
1920
datadog_api_client/v2/model/api_error_response.py
21+
datadog_api_client/v2/model/api_key_create_attributes.py
22+
datadog_api_client/v2/model/api_key_create_data.py
23+
datadog_api_client/v2/model/api_key_create_request.py
24+
datadog_api_client/v2/model/api_key_relationships.py
25+
datadog_api_client/v2/model/api_key_response.py
26+
datadog_api_client/v2/model/api_key_response_included_item.py
27+
datadog_api_client/v2/model/api_key_update_attributes.py
28+
datadog_api_client/v2/model/api_key_update_data.py
29+
datadog_api_client/v2/model/api_key_update_request.py
30+
datadog_api_client/v2/model/api_keys_response.py
31+
datadog_api_client/v2/model/api_keys_type.py
2032
datadog_api_client/v2/model/creator.py
2133
datadog_api_client/v2/model/dashboard_list_add_items_request.py
2234
datadog_api_client/v2/model/dashboard_list_add_items_response.py
@@ -29,6 +41,8 @@ datadog_api_client/v2/model/dashboard_list_items.py
2941
datadog_api_client/v2/model/dashboard_list_update_items_request.py
3042
datadog_api_client/v2/model/dashboard_list_update_items_response.py
3143
datadog_api_client/v2/model/dashboard_type.py
44+
datadog_api_client/v2/model/full_api_key.py
45+
datadog_api_client/v2/model/full_api_key_attributes.py
3246
datadog_api_client/v2/model/incident_create_attributes.py
3347
datadog_api_client/v2/model/incident_create_data.py
3448
datadog_api_client/v2/model/incident_create_relationships.py
@@ -142,6 +156,8 @@ datadog_api_client/v2/model/organization.py
142156
datadog_api_client/v2/model/organization_attributes.py
143157
datadog_api_client/v2/model/organizations_type.py
144158
datadog_api_client/v2/model/pagination.py
159+
datadog_api_client/v2/model/partial_api_key.py
160+
datadog_api_client/v2/model/partial_api_key_attributes.py
145161
datadog_api_client/v2/model/permission.py
146162
datadog_api_client/v2/model/permission_attributes.py
147163
datadog_api_client/v2/model/permissions_response.py
@@ -240,6 +256,17 @@ datadog_api_client/v2/models/__init__.py
240256
datadog_api_client/v2/models/__init__.py
241257
datadog_api_client/v2/rest.py
242258
docs/APIErrorResponse.md
259+
docs/APIKeyCreateAttributes.md
260+
docs/APIKeyCreateData.md
261+
docs/APIKeyCreateRequest.md
262+
docs/APIKeyRelationships.md
263+
docs/APIKeyResponse.md
264+
docs/APIKeyResponseIncludedItem.md
265+
docs/APIKeyUpdateAttributes.md
266+
docs/APIKeyUpdateData.md
267+
docs/APIKeyUpdateRequest.md
268+
docs/APIKeysResponse.md
269+
docs/APIKeysType.md
243270
docs/Creator.md
244271
docs/DashboardListAddItemsRequest.md
245272
docs/DashboardListAddItemsResponse.md
@@ -253,6 +280,8 @@ docs/DashboardListUpdateItemsRequest.md
253280
docs/DashboardListUpdateItemsResponse.md
254281
docs/DashboardListsApi.md
255282
docs/DashboardType.md
283+
docs/FullAPIKey.md
284+
docs/FullAPIKeyAttributes.md
256285
docs/IncidentCreateAttributes.md
257286
docs/IncidentCreateData.md
258287
docs/IncidentCreateRelationships.md
@@ -310,6 +339,7 @@ docs/IncidentUpdateRelationships.md
310339
docs/IncidentUpdateRequest.md
311340
docs/IncidentsApi.md
312341
docs/IncidentsResponse.md
342+
docs/KeyManagementApi.md
313343
docs/Log.md
314344
docs/LogAttributes.md
315345
docs/LogType.md
@@ -371,6 +401,8 @@ docs/Organization.md
371401
docs/OrganizationAttributes.md
372402
docs/OrganizationsType.md
373403
docs/Pagination.md
404+
docs/PartialAPIKey.md
405+
docs/PartialAPIKeyAttributes.md
374406
docs/Permission.md
375407
docs/PermissionAttributes.md
376408
docs/PermissionsResponse.md
@@ -470,6 +502,17 @@ docs/UsersResponse.md
470502
docs/UsersType.md
471503
test/__init__.py
472504
test/test_api_error_response.py
505+
test/test_api_key_create_attributes.py
506+
test/test_api_key_create_data.py
507+
test/test_api_key_create_request.py
508+
test/test_api_key_relationships.py
509+
test/test_api_key_response.py
510+
test/test_api_key_response_included_item.py
511+
test/test_api_key_update_attributes.py
512+
test/test_api_key_update_data.py
513+
test/test_api_key_update_request.py
514+
test/test_api_keys_response.py
515+
test/test_api_keys_type.py
473516
test/test_creator.py
474517
test/test_dashboard_list_add_items_request.py
475518
test/test_dashboard_list_add_items_response.py
@@ -483,6 +526,8 @@ test/test_dashboard_list_update_items_request.py
483526
test/test_dashboard_list_update_items_response.py
484527
test/test_dashboard_lists_api.py
485528
test/test_dashboard_type.py
529+
test/test_full_api_key.py
530+
test/test_full_api_key_attributes.py
486531
test/test_incident_create_attributes.py
487532
test/test_incident_create_data.py
488533
test/test_incident_create_relationships.py
@@ -540,6 +585,7 @@ test/test_incident_update_relationships.py
540585
test/test_incident_update_request.py
541586
test/test_incidents_api.py
542587
test/test_incidents_response.py
588+
test/test_key_management_api.py
543589
test/test_log.py
544590
test/test_log_attributes.py
545591
test/test_log_type.py
@@ -601,6 +647,8 @@ test/test_organization.py
601647
test/test_organization_attributes.py
602648
test/test_organizations_type.py
603649
test/test_pagination.py
650+
test/test_partial_api_key.py
651+
test/test_partial_api_key_attributes.py
604652
test/test_permission.py
605653
test/test_permission_attributes.py
606654
test/test_permissions_response.py

docs/v2/APIKeyCreateAttributes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# APIKeyCreateAttributes
2+
3+
Attributes used to create an API Key.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **str** | Name of the API key. |
8+
9+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
10+
11+

docs/v2/APIKeyCreateData.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# APIKeyCreateData
2+
3+
Object used to create an API key.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**attributes** | [**APIKeyCreateAttributes**](APIKeyCreateAttributes.md) | |
8+
**type** | [**APIKeysType**](APIKeysType.md) | |
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
11+
12+

docs/v2/APIKeyCreateRequest.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# APIKeyCreateRequest
2+
3+
Request used to create an API key.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**data** | [**APIKeyCreateData**](APIKeyCreateData.md) | |
8+
9+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
10+
11+

docs/v2/APIKeyRelationships.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# APIKeyRelationships
2+
3+
Resources related to the API key.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**created_by** | [**RelationshipToUser**](RelationshipToUser.md) | | [optional]
8+
**modified_by** | [**RelationshipToUser**](RelationshipToUser.md) | | [optional]
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
11+
12+

docs/v2/APIKeyResponse.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# APIKeyResponse
2+
3+
Response for retrieving an API key.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**data** | [**FullAPIKey**](FullAPIKey.md) | | [optional]
8+
**included** | [**[APIKeyResponseIncludedItem]**](APIKeyResponseIncludedItem.md) | Array of objects related to the API key. | [optional]
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
11+
12+

docs/v2/APIKeyResponseIncludedItem.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# APIKeyResponseIncludedItem
2+
3+
An object related to an API key.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**attributes** | [**UserAttributes**](UserAttributes.md) | | [optional]
8+
**id** | **str** | ID of the user. | [optional]
9+
**relationships** | [**UserResponseRelationships**](UserResponseRelationships.md) | | [optional]
10+
**type** | [**UsersType**](UsersType.md) | | [optional]
11+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
12+
13+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
14+
15+

docs/v2/APIKeyUpdateAttributes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# APIKeyUpdateAttributes
2+
3+
Attributes used to update an API Key.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **str** | Name of the API key. |
8+
9+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
10+
11+

docs/v2/APIKeyUpdateData.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# APIKeyUpdateData
2+
3+
Object used to update an API key.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**attributes** | [**APIKeyUpdateAttributes**](APIKeyUpdateAttributes.md) | |
8+
**id** | **str** | ID of the API key. |
9+
**type** | [**APIKeysType**](APIKeysType.md) | |
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+

0 commit comments

Comments
 (0)