Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add endpoints for API Keys v2 #620

Merged
merged 3 commits into from
Dec 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.4.0",
"regenerated": "2020-12-17 22:40:53.135588",
"spec_repo_commit": "d5e0016"
"regenerated": "2020-12-18 15:39:25.248182",
"spec_repo_commit": "a3d8d1a"
},
"v2": {
"apigentools_version": "1.4.0",
"regenerated": "2020-12-17 22:40:58.449239",
"spec_repo_commit": "d5e0016"
"regenerated": "2020-12-18 15:39:30.860263",
"spec_repo_commit": "a3d8d1a"
}
}
}
32 changes: 32 additions & 0 deletions api/v2/datadog/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ api_dashboard_lists.go
api_incident_services.go
api_incident_teams.go
api_incidents.go
api_key_management.go
api_logs.go
api_logs_archives.go
api_processes.go
Expand All @@ -16,6 +17,17 @@ api_users.go
client.go
configuration.go
docs/APIErrorResponse.md
docs/APIKeyCreateAttributes.md
docs/APIKeyCreateData.md
docs/APIKeyCreateRequest.md
docs/APIKeyRelationships.md
docs/APIKeyResponse.md
docs/APIKeyResponseIncludedItem.md
docs/APIKeyUpdateAttributes.md
docs/APIKeyUpdateData.md
docs/APIKeyUpdateRequest.md
docs/APIKeysResponse.md
docs/APIKeysType.md
docs/Creator.md
docs/DashboardListAddItemsRequest.md
docs/DashboardListAddItemsResponse.md
Expand All @@ -29,6 +41,8 @@ docs/DashboardListUpdateItemsRequest.md
docs/DashboardListUpdateItemsResponse.md
docs/DashboardListsApi.md
docs/DashboardType.md
docs/FullAPIKey.md
docs/FullAPIKeyAttributes.md
docs/IncidentCreateAttributes.md
docs/IncidentCreateData.md
docs/IncidentCreateRelationships.md
Expand Down Expand Up @@ -86,6 +100,7 @@ docs/IncidentUpdateRelationships.md
docs/IncidentUpdateRequest.md
docs/IncidentsApi.md
docs/IncidentsResponse.md
docs/KeyManagementApi.md
docs/Log.md
docs/LogAttributes.md
docs/LogType.md
Expand Down Expand Up @@ -147,6 +162,8 @@ docs/Organization.md
docs/OrganizationAttributes.md
docs/OrganizationsType.md
docs/Pagination.md
docs/PartialAPIKey.md
docs/PartialAPIKeyAttributes.md
docs/Permission.md
docs/PermissionAttributes.md
docs/PermissionsResponse.md
Expand Down Expand Up @@ -248,6 +265,17 @@ git_push.sh
go.mod
go.sum
model_api_error_response.go
model_api_key_create_attributes.go
model_api_key_create_data.go
model_api_key_create_request.go
model_api_key_relationships.go
model_api_key_response.go
model_api_key_response_included_item.go
model_api_key_update_attributes.go
model_api_key_update_data.go
model_api_key_update_request.go
model_api_keys_response.go
model_api_keys_type.go
model_creator.go
model_dashboard_list_add_items_request.go
model_dashboard_list_add_items_response.go
Expand All @@ -260,6 +288,8 @@ model_dashboard_list_items.go
model_dashboard_list_update_items_request.go
model_dashboard_list_update_items_response.go
model_dashboard_type.go
model_full_api_key.go
model_full_api_key_attributes.go
model_incident_create_attributes.go
model_incident_create_data.go
model_incident_create_relationships.go
Expand Down Expand Up @@ -373,6 +403,8 @@ model_organization.go
model_organization_attributes.go
model_organizations_type.go
model_pagination.go
model_partial_api_key.go
model_partial_api_key_attributes.go
model_permission.go
model_permission_attributes.go
model_permissions_response.go
Expand Down
20 changes: 20 additions & 0 deletions api/v2/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ Class | Method | HTTP request | Description
*IncidentsApi* | [**GetIncident**](docs/IncidentsApi.md#getincident) | **Get** /api/v2/incidents/{incident_id} | Get the details of an incident
*IncidentsApi* | [**ListIncidents**](docs/IncidentsApi.md#listincidents) | **Get** /api/v2/incidents | Get a list of incidents
*IncidentsApi* | [**UpdateIncident**](docs/IncidentsApi.md#updateincident) | **Patch** /api/v2/incidents/{incident_id} | Update an existing incident
*KeyManagementApi* | [**CreateAPIKey**](docs/KeyManagementApi.md#createapikey) | **Post** /api/v2/api_keys | Create an API key
*KeyManagementApi* | [**DeleteAPIKey**](docs/KeyManagementApi.md#deleteapikey) | **Delete** /api/v2/api_keys/{api_key_id} | Delete an API key
*KeyManagementApi* | [**GetAPIKey**](docs/KeyManagementApi.md#getapikey) | **Get** /api/v2/api_keys/{api_key_id} | Get API key
*KeyManagementApi* | [**ListAPIKeys**](docs/KeyManagementApi.md#listapikeys) | **Get** /api/v2/api_keys | Get all API keys
*KeyManagementApi* | [**UpdateAPIKey**](docs/KeyManagementApi.md#updateapikey) | **Patch** /api/v2/api_keys/{api_key_id} | Edit an API key
*LogsApi* | [**AggregateLogs**](docs/LogsApi.md#aggregatelogs) | **Post** /api/v2/logs/analytics/aggregate | Aggregate events
*LogsApi* | [**ListLogs**](docs/LogsApi.md#listlogs) | **Post** /api/v2/logs/events/search | Get a list of logs
*LogsApi* | [**ListLogsGet**](docs/LogsApi.md#listlogsget) | **Get** /api/v2/logs/events | Get a quick list of logs
Expand Down Expand Up @@ -145,6 +150,17 @@ Class | Method | HTTP request | Description
## Documentation For Models

- [APIErrorResponse](docs/APIErrorResponse.md)
- [APIKeyCreateAttributes](docs/APIKeyCreateAttributes.md)
- [APIKeyCreateData](docs/APIKeyCreateData.md)
- [APIKeyCreateRequest](docs/APIKeyCreateRequest.md)
- [APIKeyRelationships](docs/APIKeyRelationships.md)
- [APIKeyResponse](docs/APIKeyResponse.md)
- [APIKeyResponseIncludedItem](docs/APIKeyResponseIncludedItem.md)
- [APIKeyUpdateAttributes](docs/APIKeyUpdateAttributes.md)
- [APIKeyUpdateData](docs/APIKeyUpdateData.md)
- [APIKeyUpdateRequest](docs/APIKeyUpdateRequest.md)
- [APIKeysResponse](docs/APIKeysResponse.md)
- [APIKeysType](docs/APIKeysType.md)
- [Creator](docs/Creator.md)
- [DashboardListAddItemsRequest](docs/DashboardListAddItemsRequest.md)
- [DashboardListAddItemsResponse](docs/DashboardListAddItemsResponse.md)
Expand All @@ -157,6 +173,8 @@ Class | Method | HTTP request | Description
- [DashboardListUpdateItemsRequest](docs/DashboardListUpdateItemsRequest.md)
- [DashboardListUpdateItemsResponse](docs/DashboardListUpdateItemsResponse.md)
- [DashboardType](docs/DashboardType.md)
- [FullAPIKey](docs/FullAPIKey.md)
- [FullAPIKeyAttributes](docs/FullAPIKeyAttributes.md)
- [IncidentCreateAttributes](docs/IncidentCreateAttributes.md)
- [IncidentCreateData](docs/IncidentCreateData.md)
- [IncidentCreateRelationships](docs/IncidentCreateRelationships.md)
Expand Down Expand Up @@ -270,6 +288,8 @@ Class | Method | HTTP request | Description
- [OrganizationAttributes](docs/OrganizationAttributes.md)
- [OrganizationsType](docs/OrganizationsType.md)
- [Pagination](docs/Pagination.md)
- [PartialAPIKey](docs/PartialAPIKey.md)
- [PartialAPIKeyAttributes](docs/PartialAPIKeyAttributes.md)
- [Permission](docs/Permission.md)
- [PermissionAttributes](docs/PermissionAttributes.md)
- [PermissionsResponse](docs/PermissionsResponse.md)
Expand Down
Loading