Development:Prana Breath API/Collections:Tests

From Olekdia Wiki

tests, or health_tests - collection that gives you access to all trainings in the app.

Prefix

  • pranabreath://
  • https://olekdia.com/pranabreath/
  • https://pranabreath.page.link/?link=https://olekdia.com/pranabreath/

Syntax

  • pranabreath://tests/item?cmd=[Command] - Case-insensitive.
  • https://olekdia.com/pranabreath/tests?cmd=[Command]&[Parameter]=[Value] - Case-sensitive.

Commands

Command Description

list

Returns test list. Currently it is only used in console for retrieving health test list.
  • pranabreath://tests?cmd=list
id name
-1 shtange
-2 genchi
-3 buteyko
-4 heart_rate
-5 blood_circulation
  • pranabreath://tests - It is a default command when only collection is defined without an item, so if we omit the command it will return the same result.

select

Select the specified training. Commands import, create, start have despite its own effects have also select effect.
  • pranabreath://trainings/Harmony?cmd=select - Select Harmony training.
  • pranabreath://trainings/Harmony - It is default command when item is specified, so it will have the same impact that above example.