Data Commands
Last updated: 2025/5/22 19:12:22 | ||
Path To | Name | Description/Function |
/api/data | /altitude | Gets the altitude in meters. |
/api/data | /averagealtitude | Gets the altitude in meters. |
/api/data | /averagealtitudecount/{value} | Gets the altitude in meters. |
/api/data | /depth | Gets the depth. |
/api/data | /tilt | Gets the tilt. |
/api/data | /roll | Gets the roll. |
/altitude
Function | Gets the altitude in meters. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The altitude. |
Response Type | number |
Response Example |
CODE
|
/averagealtitude
Function | Gets the average altitude in meters. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The average altitude. |
Response Type | number |
Response Example |
CODE
|
/averagealtitudecount/{value}
Function | Sets the number of readings to use to calculate the average altitude. |
|---|---|
Method | Get |
Example |
CODE
|
Response | None |
Response Type | Not Available |
Response Example |
CODE
|
/depth
Function | Gets the depth. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The depth. |
Response Type | number |
Response Example |
CODE
|
/tilt
Function | Gets the tilt. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The tilt. |
Response Type | number |
Response Example |
CODE
|
/roll
Function | Gets the roll. |
|---|---|
Method | Get |
Example |
CODE
|
Response | The roll. |
Response Type | number |
Response Example |
CODE
|