Skip to content

Add v5.0.0-beta1 package updates #32

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

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:
    • createSegments renamed to createSegment - POST /apps/{app_id}/segments
    • deleteSegments renamed to deleteSegment - DELETE /apps/{app_id}/segments/{segment_id}

Updated

  • Authorization Section:
    • Renamed app_key to rest_api_key
    • Renamed user_key to user_auth_key


### HTTP request headers

- **Content-Type**: `application/json`
- **Content-Type**: Not defined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double check


### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: `application/json`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double check

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