Difference between revisions of "Development:Prana Breath API/Collections:Tests"
From Olekdia Wiki
Line 6: | Line 6: | ||
== Prefix == | == Prefix == | ||
* <code>pranabreath://</code> | * <code>pranabreath://</code> | ||
− | * <code><nowiki>https://olekdia.com | + | * <code><nowiki>https://pranabreath.olekdia.com/</nowiki></code> |
− | * <code><nowiki>https://pranabreath.page.link/?link=https://olekdia.com | + | * <code><nowiki>https://pranabreath.page.link/?link=https://pranabreath.olekdia.com/</nowiki></code> |
== Syntax == | == Syntax == | ||
* <code>pranabreath://tests/item?cmd=[Command]</code> - Case-insensitive. | * <code>pranabreath://tests/item?cmd=[Command]</code> - Case-insensitive. | ||
− | * <code><nowiki>https://olekdia.com | + | * <code><nowiki>https://pranabreath.olekdia.com/tests?cmd=[Command]</nowiki></code> - Case-sensitive. |
== Commands == | == Commands == |
Latest revision as of 16:06, 1 April 2019
tests
, or health_tests
- Collection that gives control over all health tests in the app.
Contents
Prefix
pranabreath://
https://pranabreath.olekdia.com/
https://pranabreath.page.link/?link=https://pranabreath.olekdia.com/
Syntax
pranabreath://tests/item?cmd=[Command]
- Case-insensitive.https://pranabreath.olekdia.com/tests?cmd=[Command]
- Case-sensitive.
Commands
Command | Description |
---|---|
list |
Returns test list. Currently it is only used in console for retrieving health test list. All health tests have negative ids in the app.
id name -1 shtange -2 genchi -3 buteyko -4 heart_rate -5 blood_circulation
|
select |
Selects the specified health test. Other than its own effect, command start does select as well.
|
start |
Starts the selected health test. If there is no such a test - nothing happens.
|