Get drone health
GET
/api/v1/aircraft/{drone_id}/health
const url = 'https://app.ayna.com/api/v1/aircraft/example/health';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.ayna.com/api/v1/aircraft/example/health \ --header 'Authorization: Bearer <token>'Get health status and diagnostics for a drone by MAVLink ID.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”drone_id
required
Drone Id
string
Responses
Section titled “Responses”OK
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}