Development:Prana Breath API/Collections:Reminders
From Olekdia Wiki
reminders, or rems - Сollection that gives control over app's reminders.
Contents
Prefix
pranabreath://- Case-insensitive.https://pranabreath.olekdia.com/- Case-sensitive.https://pranabreath.page.link/?link=https://pranabreath.olekdia.com/- Case-sensitive.
Syntax
pranabreath://reminders/item?cmd=[Command]- Case-insensitive.pranabreath://reminders/item?[Parameter]=[Value]pranabreath://reminders/item?cmd=[Command]&[Parameter1]=[Value1]&[Parameter2]=[Value2]https://pranabreath.olekdia.com/reminders?cmd=[Command]&[Parameter]=[Value]- Case-sensitive.
Commands
| Command | Description |
|---|---|
list |
Returns reminders list. Currently it is used only in console for retrieving reminders list.
id time training when 16 07:30 Power Every day 6 18:00 Clear mind Every day 8 10:00 Heart rate Sunday 10 10:03 Blood circulation Sunday 11 10:05 Buteyko test Sunday 3 10:10 Genchi test Sunday
|
create |
Create the reminder with defined parameters.
|
delete |
Delete the selected reminder. If there is no input reminder - nothing happens.
|
Parameters
| Parameter | Description |
|---|---|
pid |
Parent ID, reference to the training of the reminder.
|
enabled |
Represents the state of reminder. Value range is [true, false].
|
time |
Reminder triggering time (it uses 24 hours format: hh_mm).
|
message |
Message of the reminder. If not specified - reminder has random motivator as a message.
|