Add aircraft comment
POST
/api/v1/aircraft/{drone_id}/comments
const url = 'https://app.ayna.com/api/v1/aircraft/example/comments';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"content":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.ayna.com/api/v1/aircraft/example/comments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "content": "example" }'Append a comment to the aircraft’s page activity. Accepts a UUID or MAVLink ID.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”drone_id
required
Drone Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
AircraftCommentRequest
Append a page comment without changing aircraft properties or notes.
object
content
required
Content
Comment text
string
Example generated
{ "content": "example"}Responses
Section titled “Responses”Created
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}