|
30 | 30 | "schemas": { |
31 | 31 | "App": { |
32 | 32 | "type": "object", |
33 | | - "required": [ |
34 | | - "id" |
35 | | - ], |
36 | 33 | "properties": { |
37 | 34 | "id": { |
38 | 35 | "type": "string", |
|
204 | 201 | } |
205 | 202 | } |
206 | 203 | }, |
207 | | - "FilterNotificationTarget": { |
208 | | - "type": "object", |
209 | | - "properties": { |
210 | | - "last_session": { |
211 | | - "type": "string", |
212 | | - "description": "relation = \">\" or \"<\"\nhours_ago = number of hours before or after the users last session. Example: \"1.1\"\n" |
213 | | - }, |
214 | | - "first_session": { |
215 | | - "type": "string", |
216 | | - "description": "relation = \">\" or \"<\"\nhours_ago = number of hours before or after the users first session. Example: \"1.1\"\n" |
217 | | - }, |
218 | | - "session_count": { |
219 | | - "type": "string", |
220 | | - "description": "relation = \">\", \"<\", \"=\" or \"!=\"\nvalue = number sessions. Example: \"1\"\n" |
221 | | - }, |
222 | | - "session_time": { |
223 | | - "type": "string", |
224 | | - "description": "relation = \">\", \"<\", \"=\" or \"!=\"\nvalue = Time in seconds the user has been in your app. Example: \"3600\"\n" |
225 | | - }, |
226 | | - "amount_spent": { |
227 | | - "type": "string", |
228 | | - "description": "relation = \">\", \"<\", or \"=\"\nvalue = Amount in USD a user has spent on IAP (In App Purchases). Example: \"0.99\"\n" |
229 | | - }, |
230 | | - "bought_sku": { |
231 | | - "type": "string", |
232 | | - "description": "relation = \">\", \"<\" or \"=\"\nkey = SKU purchased in your app as an IAP (In App Purchases). Example: \"com.domain.100coinpack\"\nvalue = value of SKU to compare to. Example: \"0.99\"\n" |
233 | | - }, |
234 | | - "tag": { |
235 | | - "type": "string", |
236 | | - "description": "relation = \">\", \"<\", \"=\", \"!=\", \"exists\", \"not_exists\", \"time_elapsed_gt\" (paid plan only) or \"time_elapsed_lt\" (paid plan only) See Time Operators\nkey = Tag key to compare.\nvalue = Tag value to compare. Not required for \"exists\" or \"not_exists\". Example: See Formatting Filters\n" |
237 | | - }, |
238 | | - "language": { |
239 | | - "type": "string", |
240 | | - "description": "relation = \"=\" or \"!=\"\nvalue = 2 character language code. Example: \"en\". For a list of all language codes see Language & Localization.\n" |
241 | | - }, |
242 | | - "app_version": { |
243 | | - "type": "string", |
244 | | - "description": "relation = \">\", \"<\", \"=\" or \"!=\"\nvalue = app version. Example: \"1.0.0\"\n" |
245 | | - }, |
246 | | - "location": { |
247 | | - "type": "string", |
248 | | - "description": "radius = in meters\nlat = latitude\nlong = longitude\n" |
249 | | - }, |
250 | | - "email": { |
251 | | - "type": "string", |
252 | | - "description": "value = email address\nOnly for sending Push Notifications\nUse this for targeting push subscribers associated with an email set with all SDK setEmail methods\nTo send emails to specific email addresses use include_email_tokens parameter\n" |
253 | | - }, |
254 | | - "country": { |
255 | | - "type": "string", |
256 | | - "description": "relation = \"=\"\nvalue = 2-digit Country code\nExample: \"field\": \"country\", \"relation\": \"=\", \"value\", \"US\"\n" |
257 | | - } |
258 | | - } |
259 | | - }, |
260 | 204 | "PlayerNotificationTarget": { |
261 | 205 | "type": "object", |
262 | 206 | "properties": { |
|
339 | 283 | { |
340 | 284 | "$ref": "#/components/schemas/SegmentNotificationTarget" |
341 | 285 | }, |
342 | | - { |
343 | | - "$ref": "#/components/schemas/FilterNotificationTarget" |
344 | | - }, |
345 | 286 | { |
346 | 287 | "$ref": "#/components/schemas/PlayerNotificationTarget" |
347 | 288 | } |
|
902 | 843 | "description": "Channel: SMS\nURLs for the media files to be attached to the SMS content.\nLimit: 10 media urls with a total max. size of 5MBs.\n", |
903 | 844 | "writeOnly": true, |
904 | 845 | "nullable": true |
| 846 | + }, |
| 847 | + "filters": { |
| 848 | + "type": "array", |
| 849 | + "nullable": true, |
| 850 | + "items": { |
| 851 | + "$ref": "#/components/schemas/Filter" |
| 852 | + } |
905 | 853 | } |
906 | 854 | } |
907 | 855 | }, |
|
1414 | 1362 | }, |
1415 | 1363 | "value": { |
1416 | 1364 | "type": "string", |
1417 | | - "description": "Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator." |
| 1365 | + "description": "Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator." |
1418 | 1366 | }, |
1419 | 1367 | "relation": { |
1420 | 1368 | "type": "string", |
|
0 commit comments