Skip to content

Commit dc50d2b

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add more information on snapshots (#699)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 903265d commit dc50d2b

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
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.6.6",
7-
"regenerated": "2025-06-06 17:43:35.331372",
8-
"spec_repo_commit": "01341d5b"
7+
"regenerated": "2025-06-09 14:45:37.264329",
8+
"spec_repo_commit": "79e7c933"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-06 17:43:35.348469",
13-
"spec_repo_commit": "01341d5b"
12+
"regenerated": "2025-06-09 14:45:37.280290",
13+
"spec_repo_commit": "79e7c933"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26423,7 +26423,10 @@ paths:
2642326423
- events_read
2642426424
/api/v1/graph/snapshot:
2642526425
get:
26426-
description: 'Take graph snapshots.
26426+
description: 'Take graph snapshots. Snapshots are PNG images generated by rendering
26427+
a specified widget in a web page and capturing it once the data is available.
26428+
The image is then uploaded to cloud storage.
26429+
2642726430

2642826431
**Note**: When a snapshot is created, there is some delay before it is available.'
2642926432
operationId: GetGraphSnapshot

src/datadogV1/api/api_snapshots.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ impl SnapshotsAPI {
133133
Self { config, client }
134134
}
135135

136-
/// Take graph snapshots.
136+
/// Take graph snapshots. Snapshots are PNG images generated by rendering a specified widget in a web page and capturing it once the data is available. The image is then uploaded to cloud storage.
137+
///
137138
/// **Note**: When a snapshot is created, there is some delay before it is available.
138139
pub async fn get_graph_snapshot(
139140
&self,
@@ -158,7 +159,8 @@ impl SnapshotsAPI {
158159
}
159160
}
160161

161-
/// Take graph snapshots.
162+
/// Take graph snapshots. Snapshots are PNG images generated by rendering a specified widget in a web page and capturing it once the data is available. The image is then uploaded to cloud storage.
163+
///
162164
/// **Note**: When a snapshot is created, there is some delay before it is available.
163165
pub async fn get_graph_snapshot_with_http_info(
164166
&self,

0 commit comments

Comments
 (0)