Skip to content

Commit 6b1bc81

Browse files
authored
Merge pull request #33 from OneSignal/add-notification-custom-data-field
(feat) Add documentation for custom_data to BasicNotification schema
2 parents b52c904 + 964bab2 commit 6b1bc81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,12 @@
901901
"items": {
902902
"$ref": "#/components/schemas/Filter"
903903
}
904+
},
905+
"custom_data": {
906+
"type": "object",
907+
"description": "Channel: All\nJSON object that can be used as a source of message personalization data for fields that support tag variable substitution.\nPush, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON.\nExample: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25}\n",
908+
"writeOnly": true,
909+
"nullable": true
904910
}
905911
}
906912
},

0 commit comments

Comments
 (0)