docs/v1/SnapshotsAPI.md in datadog_api_client-1.4.0 vs docs/v1/SnapshotsAPI.md in datadog_api_client-1.5.0

- old
+ new

@@ -1,17 +1,16 @@ # DatadogAPIClient::V1::SnapshotsAPI All URIs are relative to *https://api.datadoghq.com* -| Method | HTTP request | Description | -| ------ | ------------ | ----------- | +| Method | HTTP request | Description | +| ------------------------------------------------------------ | ------------------------------ | -------------------- | | [**get_graph_snapshot**](SnapshotsAPI.md#get_graph_snapshot) | **GET** /api/v1/graph/snapshot | Take graph snapshots | - ## get_graph_snapshot -> <GraphSnapshot> get_graph_snapshot(start, _end, opts) +> <GraphSnapshot> get_graph_snapshot(start, \_end, opts) Take graph snapshots. **Note**: When a snapshot is created, there is some delay before it is available. ### Examples @@ -39,11 +38,11 @@ #### Using the get_graph_snapshot_with_http_info variant This returns an Array which contains the response data, status code and headers. -> <Array(<GraphSnapshot>, Integer, Hash)> get_graph_snapshot_with_http_info(start, _end, opts) +> <Array(<GraphSnapshot>, Integer, Hash)> get_graph_snapshot_with_http_info(start, \_end, opts) ```ruby begin # Take graph snapshots data, status_code, headers = api_instance.get_graph_snapshot_with_http_info(start, _end, opts) @@ -55,18 +54,18 @@ end ``` ### Parameters -| Name | Type | Description | Notes | -| ---- | ---- | ----------- | ----- | -| **start** | **Integer** | The POSIX timestamp of the start of the query. | | -| **_end** | **Integer** | The POSIX timestamp of the end of the query. | | -| **metric_query** | **String** | The metric query. | [optional] | -| **event_query** | **String** | A query that adds event bands to the graph. | [optional] | -| **graph_def** | **String** | A JSON document defining the graph. &#x60;graph_def&#x60; can be used instead of &#x60;metric_query&#x60;. The JSON document uses the [grammar defined here](https://docs.datadoghq.com/graphing/graphing_json/#grammar) and should be formatted to a single line then URL encoded. | [optional] | -| **title** | **String** | A title for the graph. If no title is specified, the graph does not have a title. | [optional] | +| Name | Type | Description | Notes | +| ---------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | +| **start** | **Integer** | The POSIX timestamp of the start of the query. | | +| **\_end** | **Integer** | The POSIX timestamp of the end of the query. | | +| **metric_query** | **String** | The metric query. | [optional] | +| **event_query** | **String** | A query that adds event bands to the graph. | [optional] | +| **graph_def** | **String** | A JSON document defining the graph. &#x60;graph_def&#x60; can be used instead of &#x60;metric_query&#x60;. The JSON document uses the [grammar defined here](https://docs.datadoghq.com/graphing/graphing_json/#grammar) and should be formatted to a single line then URL encoded. | [optional] | +| **title** | **String** | A title for the graph. If no title is specified, the graph does not have a title. | [optional] | ### Return type [**GraphSnapshot**](GraphSnapshot.md) @@ -76,6 +75,5 @@ ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json -