Automatically add JSON sources to REFL.ME to generate messages and alerts

After publishing the article " Messages and notifications on Android via JSON " here and getting into the top 5 news of the day on Hacker News, a lot of feedback letters arrived. Thanks to this, new useful features have been added.



One of the new features that was added at the request of users was the ability to centrally add and remove data sources to generate messages and notifications on the user's device.



I give a simple example in the JSON format, which will allow you to use this feature:



{ "refl.me":true, "hub":true, "sources":[{"url":"https:\/\/refl.me\/\/test"},{"url":"https:\/\/refl.me\/\/test_secret"}] }
      
      





"Refl.me" - indicate necessarily true.

"Hub" - indicate necessarily true.

"Sources" - a list of sources to process. Creation, updating and deletion will be performed automatically in accordance with this list.



Everything works similarly to a regular source, but it is processed not by message, but by sources. According to the received addresses from โ€œsourcesโ€, the application forms an actual list of data sources for generating messages and notifications.



Full documentation and all features can be viewed here .



All Articles