Skip to content

Commit 2b67f93

Browse files
authored
Merge pull request #26 from OneSignal/user_model_fixes
Schema fixes
2 parents 07d74fd + 710e506 commit 2b67f93

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

api.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.0",
33
"info": {
4-
"version": "1.2.0",
4+
"version": "1.1.0",
55
"title": "OneSignal",
66
"description": "A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com",
77
"contact": {
@@ -140,7 +140,8 @@
140140
},
141141
"apns_p8": {
142142
"type": "string",
143-
"description": "iOS: Required if using p8. Base64 encoded p8 key"
143+
"description": "iOS: Required if using p8. Base64 encoded p8 key",
144+
"nullable": true
144145
},
145146
"safari_site_origin": {
146147
"type": "string",
@@ -2109,6 +2110,10 @@
21092110
"properties": {
21102111
"identity": {
21112112
"$ref": "#/components/schemas/IdentityObject"
2113+
},
2114+
"retain_previous_owner": {
2115+
"type": "boolean",
2116+
"description": "The request must specify whether the subscription’s previous user should be retained. If so and the subscription is the last subscription for the previous user, then an orphan user will be created. This only applies if the subscription is the previous user’s only subscription. If the previous user had other subscriptions, nothing happens to the user."
21122117
}
21132118
}
21142119
},

0 commit comments

Comments
 (0)