Releases: OneSignal/onesignal-php-api
Releases · OneSignal/onesignal-php-api
5.3.0-beta1
Features
- adds support for the Custom Events endpoint
- adds support for the Start Live Activity endpoint
- adds support for the Template endpoints
- adds support for the Update Subscription by token endpoint
- adds support for the Authentication endpoints
5.2.1-beta1
Features
- add
canceled
boolean toNotificationWithMeta
schema
5.2.0-beta1
Features
- add
disable_email_click_tracking
Notification API parameter - add nullable type hints to models and API
5.1.0-beta1
User Model beta release
Changes
Auth Updates
⚠️ ReplacesetAppKeyToken
onConfiguration::getDefaultConfiguration
withsetRestApiKeyToken
⚠️ ReplacesetUserKeyToken
onConfiguration::getDefaultConfiguration
withsetOrganizationApiKeyToken
Added
- Methods:
createAlias
- PATCH /apps/{app_id}/users/by/{alias_label}/{alias_id}/identitycreateAliasBySubscription
- PATCH /apps/{app_id}/subscriptions/{subscription_id}/user/identityexportSubscriptions
- POST /players/csv_export?app_id={app_id}getAliases
- GET /apps/{app_id}/users/by/{alias_label}/{alias_id}/identitygetAliasesBySubscription
- GET /apps/{app_id}/subscriptions/{subscription_id}/user/identitygetSegments
- GET /apps/{app_id}/segmentsgetUser
- 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}/tokencreatePlayer
- POST /playerscreateSegments
- POST /apps/{app_id}/segmentsdeletePlayer
- 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/identityfetchUser
- GET /apps/{app_id}/users/by/{alias_label}/{alias_id}fetchUserIdentity
- GET /apps/{app_id}/users/by/{alias_label}/{alias_id}/identitygetEligibleIams
- GET /apps/{app_id}/subscriptions/{subscription_id}/iamsgetPlayer
- GET /players/{player_id}getPlayers
- GET /playersidentifyUserByAlias
- PATCH /apps/{app_id}/users/by/{alias_label}/{alias_id}/identityidentifyUserBySubscriptionId
- PATCH /apps/{app_id}/subscriptions/{subscription_id}/user/identityupdatePlayer
- 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:
createSegments
renamed tocreateSegment
- POST /apps/{app_id}/segmentsdeleteSegments
renamed todeleteSegment
- DELETE /apps/{app_id}/segments/{segment_id}
2.2.1
Fixes
- set
notification_type
to be typeint
, instead offloat
, onSubscriptionObject
2.2.0
Features
- deprecate
external_id
in favor ofidempotency_key
asbasenotification
field
Fixes
- favor
Key
auth prefix overBearer
2.1.0
Features
- Add authMethod for
deleteUserRequest
Fixes
- Set base URL to
https://api.onesignal.com/