Skip to content

Add v5.0.0-beta1 package updates #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025
Merged

Add v5.0.0-beta1 package updates #47

merged 1 commit into from
May 23, 2025

Conversation

onesignal-deploy
Copy link
Collaborator

@onesignal-deploy onesignal-deploy commented May 5, 2025

User Model beta release

⚠️ This release includes breaking changes. Please test before using in production.

Changes

API Endpoints

Added Endpoints

  • CreateAlias — PATCH /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity
  • CreateAliasBySubscription — PATCH /apps/{app_id}/subscriptions/{subscription_id}/user/identity
  • CreateSegment — POST /apps/{app_id}/segments
  • 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

Removed Endpoints

  • 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

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

Authorization section

  • Changed app_key --> rest_api_key
  • Changed user_key --> user_auth_key

@sherwinski sherwinski merged commit 440a041 into main May 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants