17
17
* under the License.
18
18
*/
19
19
20
+ import { Page } from '@ml/_types/Page'
20
21
import { RequestBase } from '@_types/Base'
21
22
import { Field , Id } from '@_types/common'
22
23
import { integer } from '@_types/Numeric'
@@ -36,13 +37,16 @@ export interface Request extends RequestBase {
36
37
*/
37
38
job_id : Id
38
39
/**
39
- * A numerical character string that uniquely identifies the model snapshot.
40
+ * A numerical character string that uniquely identifies the model snapshot. You can get information for multiple
41
+ * snapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using `_all`,
42
+ * by specifying `*` as the snapshot ID, or by omitting the snapshot ID.
40
43
*/
41
44
snapshot_id ?: Id
42
45
}
43
46
query_parameters : {
44
47
/**
45
48
* If true, the results are sorted in descending order.
49
+ * @server_default false
46
50
*/
47
51
desc ?: boolean
48
52
/**
@@ -51,10 +55,12 @@ export interface Request extends RequestBase {
51
55
end ?: Time
52
56
/**
53
57
* Skips the specified number of snapshots.
58
+ * @server_default 0
54
59
*/
55
60
from ?: integer
56
61
/**
57
62
* Specifies the maximum number of snapshots to obtain.
63
+ * @server_default 100
58
64
*/
59
65
size ?: integer
60
66
/**
@@ -69,14 +75,22 @@ export interface Request extends RequestBase {
69
75
}
70
76
body : {
71
77
/**
72
- * Returns snapshots with timestamps after this time. Defaults to unset,
73
- * which means results are not limited to specific timestamps.
78
+ * Refer to the description for the `desc` query parameter.
79
+ * @server_default false
74
80
*/
75
- start ?: Time
81
+ desc ?: boolean
76
82
/**
77
- * Returns snapshots with timestamps earlier than this time. Defaults to
78
- * unset, which means results are not limited to specific timestamps.
83
+ * Refer to the description for the `end` query parameter.
79
84
*/
80
85
end ?: Time
86
+ page ?: Page
87
+ /**
88
+ * Refer to the description for the `sort` query parameter.
89
+ */
90
+ sort ?: Field
91
+ /**
92
+ * Refer to the description for the `start` query parameter.
93
+ */
94
+ start ?: Time
81
95
}
82
96
}
0 commit comments