onesignal-php-api
onesignal-php-api copied to clipboard
Add v5.0.0-beta1 package updates
User Model beta release
⚠️ This release includes breaking changes. Please test before using in production.
Changes
Added
-
Methods:
-
createAlias- PATCH /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity -
createAliasBySubscription- PATCH /apps/{app_id}/subscriptions/{subscription_id}/user/identity -
exportSubscriptions- POST /players/csv_export?app_id={app_id} -
getAliases- GET /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity -
getAliasesBySubscription- GET /apps/{app_id}/subscriptions/{subscription_id}/user/identity -
getSegments- GET /apps/{app_id}/segments -
getUser- GET /apps/{app_id}/users/by/{alias_label}/{alias_id} -
unsubscribeEmailWithToken- POST /apps/{app_id}/notifications/{notification_id}/unsubscribe
-
-
Models:
-
ExportSubscriptionsRequestBody -
ExportSubscriptionsSuccessResponse -
FilterExpression -
GenericSuccessBoolResponse -
GetNotificationHistoryRequestBody -
GetSegmentsSuccessResponse -
LanguageStringMap -
PropertiesBody -
RateLimitError -
SegmentData -
Subscription -
SubscriptionBody -
SubscriptionNotificationTarget -
UserIdentityBody -
WebButton
-
Removed
-
Methods:
-
beginLiveActivity- POST /apps/{app_id}/live_activities/{activity_id}/token -
createPlayer- POST /players -
createSegments- POST /apps/{app_id}/segments -
deletePlayer- DELETE /players/{player_id} -
deleteSegments- DELETE /apps/{app_id}/segments/{segment_id} -
endLiveActivity- DELETE /apps/{app_id}/live_activities/{activity_id}/token/{subscription_id} -
exportPlayers- POST /players/csv_export?app_id={app_id} -
fetchAliases- GET /apps/{app_id}/subscriptions/{subscription_id}/user/identity -
fetchUser- GET /apps/{app_id}/users/by/{alias_label}/{alias_id} -
fetchUserIdentity- GET /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity -
getEligibleIams- GET /apps/{app_id}/subscriptions/{subscription_id}/iams -
getPlayer- GET /players/{player_id} -
getPlayers- GET /players -
identifyUserByAlias- PATCH /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity -
identifyUserBySubscriptionId- PATCH /apps/{app_id}/subscriptions/{subscription_id}/user/identity -
updatePlayer- PUT /players/{player_id} -
updatePlayerTags- PUT /apps/{app_id}/users/{external_user_id}
-
-
Models:
-
BeginLiveActivityRequest -
CancelNotificationSuccessResponse -
CreatePlayerSuccessResponse -
CreateSubscriptionRequestBody -
DeletePlayerNotFoundResponse -
DeletePlayerSuccessResponse -
DeleteSegmentNotFoundResponse -
DeleteSegmentSuccessResponse -
ExportPlayersRequestBody -
ExportPlayersSuccessResponse -
FilterExpressions -
GenericErrorErrorsInner -
GetNotificationRequestBody -
InlineResponse200 -
InlineResponse2003 -
InlineResponse201 -
InlineResponse202 -
InvalidIdentifierError -
Player -
PlayerNotificationTarget -
PlayerNotificationTargetIncludeAliases -
PlayerSlice -
RateLimiterError -
StringMap -
SubscriptionObject -
UpdatePlayerSuccessResponse -
UpdatePlayerTagsRequestBody -
UpdatePlayerTagsSuccessResponse -
UpdateSubscriptionRequestBody -
UserIdentityRequestBody -
UserIdentityResponse -
UserSubscriptionOptions
-
Modified
-
Methods:
-
createSegmentsrenamed tocreateSegment- POST /apps/{app_id}/segments -
deleteSegmentsrenamed todeleteSegment- DELETE /apps/{app_id}/segments/{segment_id}
-
Updated
-
Authorization Section:
- Renamed
app_keytorest_api_key - Renamed
user_keytouser_auth_key
- Renamed