Releases: OneSignal/onesignal-go-api
Releases · OneSignal/onesignal-go-api
5.2.0-beta1
Features
- add
disable_email_click_tracking
Notification API parameter
5.1.1-beta1
Changes
- use
OrganizationApiKey
field in client
5.1.0-beta1
User Model beta release
Changes
Auth Updates
⚠️ ReplaceAppAuth
withRestApiKey
⚠️ ReplaceUserAuth
withOrganizationApiKey
API Endpoints
Added Endpoints
CreateAlias
— PATCH /apps/{app_id}/users/by/{alias_label}/{alias_id}/identityCreateAliasBySubscription
— PATCH /apps/{app_id}/subscriptions/{subscription_id}/user/identityCreateSegment
— POST /apps/{app_id}/segmentsExportSubscriptions
— 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
Removed Endpoints
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
Added Models
ExportSubscriptionsRequestBody
ExportSubscriptionsSuccessResponse
FilterExpression
GenericSuccessBoolResponse
GetNotificationHistoryRequestBody
GetSegmentsSuccessResponse
LanguageStringMap
PropertiesBody
RateLimitError
SegmentData
Subscription
SubscriptionBody
SubscriptionNotificationTarget
UserIdentityBody
WebButton
Removed Models
BeginLiveActivityRequest
CancelNotificationSuccessResponse
CreatePlayerSuccessResponse
CreateSubscriptionRequestBody
DeletePlayerNotFoundResponse
DeletePlayerSuccessResponse
DeleteSegmentNotFoundResponse
DeleteSegmentSuccessResponse
ExportPlayersRequestBody
ExportPlayersSuccessResponse
FilterExpressions
GenericErrorErrorsInner
GetNotificationRequestBody
InlineResponse200
InlineResponse2003
InlineResponse201
InlineResponse202
InvalidIdentifierError
Notification200Errors
Player
PlayerNotificationTarget
PlayerNotificationTargetIncludeAliases
PlayerSlice
RateLimiterError
StringMap
SubscriptionObject
UpdatePlayerSuccessResponse
UpdatePlayerTagsRequestBody
UpdatePlayerTagsSuccessResponse
UpdateSubscriptionRequestBody
UserIdentityRequestBody
UserIdentityResponse
UserSubscriptionOptions
2.2.1
Fixes
- set
notification_type
to be typeint32
, instead off32
, 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
deleteUser
Fixes
- Set base URL to
https://api.onesignal.com/
2.0.3 Release
Added:
- user model endpoints
- live activities
- errors to all the responses
Fixed:
various bugs
2.0.1 Release
Updates to properly publish the package on the go package store.
Full Changelog: v2.0.0...v2.0.1
2.0.0 Release
This version contains updates to use the new User Centric APIs. Please refer to the README for updated integration details.
Full Changelog: v1.0.4...v2.0.0