Skip to content

Commit

Permalink
Merge pull request #33 from OneSignal/add-notification-custom-data-field
Browse files Browse the repository at this point in the history
(feat) Add documentation for custom_data to BasicNotification schema
  • Loading branch information
dezmarie03 committed May 12, 2023
2 parents b52c904 + 964bab2 commit 6b1bc81
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api.json
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,12 @@
"items": {
"$ref": "#/components/schemas/Filter"
}
},
"custom_data": {
"type": "object",
"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",
"writeOnly": true,
"nullable": true
}
}
},
Expand Down

0 comments on commit 6b1bc81

Please sign in to comment.