cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kimhuang
Community Participant

The notification setting(icon) of "announcement_created_by_you" does not show the correct setting a

I have asked the same question in an existing post thread. (https://community.canvaslms.com/t5/Developers-Group/Notification-Preferences-API/m-p/153878#M3972)

I hope the new post will be exposed to a larger audience.

The notification setting(icon) of "announcement_created_by_you" does not show the correct setting after the setting is modified by the API call.

-----------------------------------------

Hi Folks,
I have used  @robotcars and @pklove  's solution to change the notification settings of "announcement_created_by_you" and "conversation_created"
Here is my curl command:
curl -k --globoff https://x.instructure.com/api/v1/users/self/communication_channels/248/notification_preferences\?as_... -X PUT -H "Authorization: Bearer <token>"
The result shows the curl call succeed:


{"notification_preferences":[{"frequency":"immediately","notification":"conversation_created","category":"conversation_created"},{"frequency":"immediately","notification":"announcement_created_by_you","category":"announcement_created_by_you"}]}


However, the display value(icon image) of the "announcement_created_by_you" setting doesn't change accordingly. ( view it from account->notifications) It remains the same icon image before the curl command is executed. in contrary, the display icon of the "conversation_created" change as expected.

We also verify the "announcement_created_by_you" setting does work as API call requests, however the display icon doesn’t show the correct setting. It looks like it is the problem of the display icon.


Thanks so much!
-Kim

0 Kudos
0 Replies