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: docs/EventsApi.md
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
65
65
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -89,12 +89,16 @@ my $filter[service_id] = "filter[service_id]_example"; # string | Limit the resu
89
89
my$filter[user_id] = "filter[user_id]_example"; # string | Limit the results returned to a specific user.
90
90
my$filter[token_id] = "filter[token_id]_example"; # string | Limit the returned events to a specific token.
91
91
my$filter[created_at] = "filter[created_at]_example"; # string | Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12).
92
+
my$filter[created_at][lte] = "filter[created_at][lte]_example"; # string | Return events on and before a date and time in ISO 8601 format.
93
+
my$filter[created_at][lt] = "filter[created_at][lt]_example"; # string | Return events before a date and time in ISO 8601 format.
94
+
my$filter[created_at][gte] = "filter[created_at][gte]_example"; # string | Return events on and after a date and time in ISO 8601 format.
95
+
my$filter[created_at][gt] = "filter[created_at][gt]_example"; # string | Return events after a date and time in ISO 8601 format.
92
96
my$page[number] = 1; # int | Current page.
93
97
my$page[size] = 20; # int | Number of records per page.
94
98
my$sort = created_at; # string | The order in which to list the results by creation date.
@@ -112,6 +116,10 @@ Name | Type | Description | Notes
112
116
**filter[user_id]** | **string**| Limit the results returned to a specific user. | [optional]
113
117
**filter[token_id]** | **string**| Limit the returned events to a specific token. | [optional]
114
118
**filter[created_at]** | **string**| Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12). | [optional]
119
+
**filter[created_at][lte]** | **string**| Return events on and before a date and time in ISO 8601 format. | [optional]
120
+
**filter[created_at][lt]** | **string**| Return events before a date and time in ISO 8601 format. | [optional]
121
+
**filter[created_at][gte]** | **string**| Return events on and after a date and time in ISO 8601 format. | [optional]
122
+
**filter[created_at][gt]** | **string**| Return events after a date and time in ISO 8601 format. | [optional]
115
123
**page[number]** | **int**| Current page. | [optional]
116
124
**page[size]** | **int**| Number of records per page. | [optional][default to 20]
117
125
**sort** | **string**| The order in which to list the results by creation date. | [optional][default to 'created_at']
Copy file name to clipboardExpand all lines: lib/WebService/Fastly/EventsApi.pm
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,10 @@ sub get_event {
124
124
# @param string $filter[user_id] Limit the results returned to a specific user. (optional)
125
125
# @param string $filter[token_id] Limit the returned events to a specific token. (optional)
126
126
# @param string $filter[created_at] Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12). (optional)
127
+
# @param string $filter[created_at][lte] Return events on and before a date and time in ISO 8601 format. (optional)
128
+
# @param string $filter[created_at][lt] Return events before a date and time in ISO 8601 format. (optional)
129
+
# @param string $filter[created_at][gte] Return events on and after a date and time in ISO 8601 format. (optional)
130
+
# @param string $filter[created_at][gt] Return events after a date and time in ISO 8601 format. (optional)
127
131
# @param int $page[number] Current page. (optional)
128
132
# @param int $page[size] Number of records per page. (optional, default to 20)
129
133
# @param string $sort The order in which to list the results by creation date. (optional, default to 'created_at')
@@ -159,6 +163,26 @@ sub get_event {
159
163
description=>'Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12). ',
160
164
required=>'0',
161
165
},
166
+
'filter[created_at][lte]'=> {
167
+
data_type=>'string',
168
+
description=>'Return events on and before a date and time in ISO 8601 format. ',
169
+
required=>'0',
170
+
},
171
+
'filter[created_at][lt]'=> {
172
+
data_type=>'string',
173
+
description=>'Return events before a date and time in ISO 8601 format. ',
174
+
required=>'0',
175
+
},
176
+
'filter[created_at][gte]'=> {
177
+
data_type=>'string',
178
+
description=>'Return events on and after a date and time in ISO 8601 format. ',
179
+
required=>'0',
180
+
},
181
+
'filter[created_at][gt]'=> {
182
+
data_type=>'string',
183
+
description=>'Return events after a date and time in ISO 8601 format. ',
0 commit comments