Add v5.0.0-beta1 package updates #44
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User Model beta release
Changes
API Endpoints
Added Endpoints
create_alias
–PATCH /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity
create_alias_by_subscription
–PATCH /apps/{app_id}/subscriptions/{subscription_id}/user/identity
get_aliases
–GET /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity
get_aliases_by_subscription
–GET /apps/{app_id}/subscriptions/{subscription_id}/user/identity
export_subscriptions
–POST /players/csv_export?app_id={app_id}
get_segments
–GET /apps/{app_id}/segments
get_user
–GET /apps/{app_id}/users/by/{alias_label}/{alias_id}
unsubscribe_email_with_token
–POST /apps/{app_id}/notifications/{notification_id}/unsubscribe
Changed Endpoints (renamed or replaced)
create_segments
→ nowcreate_segment
delete_segments
→ nowdelete_segment
export_players
→ nowexport_subscriptions
fetch_aliases
→ nowget_aliases_by_subscription
fetch_user
→ nowget_user
Removed Endpoints
begin_live_activity
–POST /apps/{app_id}/live_activities/{activity_id}/token
end_live_activity
–DELETE /apps/{app_id}/live_activities/{activity_id}/token/{subscription_id}
create_player
–POST /players
delete_player
–DELETE /players/{player_id}
get_player
–GET /players/{player_id}
get_players
–GET /players
identify_user_by_alias
–PATCH /apps/{app_id}/users/by/{alias_label}/{alias_id}/identity
identify_user_by_subscription_id
–PATCH /apps/{app_id}/subscriptions/{subscription_id}/user/identity
update_player
–PUT /players/{player_id}
update_player_tags
–PUT /apps/{app_id}/users/{external_user_id}
Models
Added Models
ExportSubscriptionsRequestBody
ExportSubscriptionsSuccessResponse
FilterExpression
GenericSuccessBoolResponse
LanguageStringMap
GetSegmentsSuccessResponse
RateLimitError
SegmentData
Subscription
SubscriptionBody
SubscriptionNotificationTarget
UserIdentityBody
WebButton
Removed Models
Buttons
CreatePlayerSuccessResponse
DeletePlayerNotFoundResponse
DeletePlayerSuccessResponse
Player
PlayerNotificationTarget
PlayerNotificationTargetIncludeAliases
PlayerSlice
Players
UpdatePlayerSuccessResponse
UpdatePlayerTagsRequestBody
UpdatePlayerTagsSuccessResponse