Development:Prana Breath API/Collections:Motivators
From Olekdia Wiki
< Development:Prana Breath API
Revision as of 16:27, 1 February 2019 by Oleksandr (talk | contribs) (Created page with "<code>motivators</code> - Collection that gives the control over motivators in the app.<br/> __TOC__ <div class="api-table long-code"> == Prefix == * <cod...")
motivators
- Collection that gives the control over motivators in the app.
Prefix
pranabreath://
- Case-insensitive.https://olekdia.com/pranabreath/
- Case-sensitive.https://pranabreath.page.link/?link=https://olekdia.com/pranabreath/
- Case-sensitive.
Syntax
pranabreath://trainings/item?cmd=[Command]
- Case-insensitive.pranabreath://Trainings/item?[Parameter]=[Value]
pranabreath://trainings/item?cmd=[Command]&[Parameter1]=[Value1]&[Parameter2]=[Value2]
https://olekdia.com/pranabreath/trainings?cmd=[Command]&[Parameter]=[Value]
- Case-sensitive.
Commands
Command | Description |
---|---|
list |
Returns training list. Currently it is used only in console for retrieving a training list.
pos id public_id name 0 1 1 Clear mind 1 2 2 Relax 2 3 3 Calming 3 4 4 Power 4 5 5 Harmony 5 6 6 Anti-stress 6 7 7 Anti-appetite 7 8 8 Cigarette replace 8 9 11 Bhastrika
|
create |
Create the training with certain parameters. If training with such name already exists - new training will not be created. Instead all parameters will be applied to existing training.
|
delete |
Delete the selected training. If there is no selected training - nothing happens.
|
Parameters
Parameter | Description |
---|---|
name |
Name of the training.
|