Open
Description
Currently, there is no Rest API to fetch login user's preference push_notifications
and expo push tokens for the user, but in mobile client sthose values are important to manage push notification setting.
So, can we consider to provide those notification related values as the API ?
The followings may be possible.
-
GET
/my/account.json
with adding user preference'spush_notifications
+ tokens- Add notification related information when parameter has ?include=notification (or ?include=preference ?).
- This is the best way, because client app side request count will be just one.
- Add notification related information when parameter has ?include=notification (or ?include=preference ?).
-
GET
/expo_push_tokens
- Eventually this only can fetch
expo_push_tokens
table's value, so still user preference'spush_notifications
is necessary on another endpoint.
- Eventually this only can fetch