You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api_docs/v1/NotebooksApi.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,10 +231,12 @@ public class Example {
231
231
String excludeAuthorHandle ="test@datadoghq.com"; // String | Return notebooks not created by the given `author_handle`.
232
232
Long start =0L; // Long | The index of the first notebook you want returned.
233
233
Long count =5L; // Long | The number of notebooks to be returned.
234
-
String sortField ="modified"; // String | Sort by field `modified`or `name`.
234
+
String sortField ="modified"; // String | Sort by field `modified`, `name`, or `created`.
235
235
String sortDir ="desc"; // String | Sort by direction `asc` or `desc`.
236
236
String query ="postmortem"; // String | Return only notebooks with `query` string in notebook name or author handle.
237
237
Boolean includeCells =true; // Boolean | Value of `false` excludes the `cells` and global `time` for each notebook.
238
+
Boolean isTemplate =false; // Boolean | True value returns only template notebooks. Default is false (returns only non-template notebooks).
239
+
String type ="investigation"; // String | If type is provided, returns only notebooks with that metadata type. Default does not have type filtering.
238
240
try {
239
241
NotebooksResponse result = apiInstance.listNotebooks(newNotebooksApi.ListNotebooksOptionalParameters()
240
242
.authorHandle(authorHandle)
@@ -244,7 +246,9 @@ public class Example {
244
246
.sortField(sortField)
245
247
.sortDir(sortDir)
246
248
.query(query)
247
-
.includeCells(includeCells));
249
+
.includeCells(includeCells)
250
+
.isTemplate(isTemplate)
251
+
.type(type));
248
252
System.out.println(result);
249
253
} catch (ApiException e) {
250
254
System.err.println("Exception when calling NotebooksApi#listNotebooks");
@@ -266,10 +270,12 @@ Name | Type | Description | Notes
266
270
**excludeAuthorHandle** | **String**| Return notebooks not created by the given `author_handle`. | [optional]
267
271
**start** | **Long**| The index of the first notebook you want returned. | [optional]
268
272
**count** | **Long**| The number of notebooks to be returned. | [optional]
269
-
**sortField** | **String**| Sort by field `modified`or `name`. | [optional][default to modified]
273
+
**sortField** | **String**| Sort by field `modified`, `name`, or `created`. | [optional][default to modified]
270
274
**sortDir** | **String**| Sort by direction `asc` or `desc`. | [optional][default to desc]
271
275
**query** | **String**| Return only notebooks with `query` string in notebook name or author handle. | [optional]
272
276
**includeCells** | **Boolean**| Value of `false` excludes the `cells` and global `time` for each notebook. | [optional][default to true]
277
+
**isTemplate** | **Boolean**| True value returns only template notebooks. Default is false (returns only non-template notebooks). | [optional][default to false]
278
+
**type** | **String**| If type is provided, returns only notebooks with that metadata type. Default does not have type filtering. | [optional]
0 commit comments