# Notes

These are a collection of endpoints that allow you to configure Bird notes.

# Get Bird Note

GET /api/v1/device/note

Retrieve a Bird's note.

Required Parameters

auth_token string
A valid auth token
node_id string
A valid Canary node_id

Response

JSON structure with the Bird note.

Example

curl https://EXAMPLE.canary.tools/api/v1/device/note \
  -d auth_token=EXAMPLE_AUTH_TOKEN \
  -d node_id=EXAMPLE_NODE_ID \
  -G
Copied!
1
2
3
4
Response
{
  "note": "Example Bird Note",
  "result": "success"
}
Copied!
1
2
3
4

# Add Bird Note

POST /api/v1/device/note/add

Add a note to a specified Bird.

Required Parameters

auth_token string
A valid auth token
node_id string
A valid Canary node_id
note string
A note for the Bird

Response

JSON structure with the result indicator.

Example

curl https://EXAMPLE.canary.tools/api/v1/device/note/add \
  -d auth_token=EXAMPLE_AUTH_TOKEN \
  -d node_id=EXAMPLE_NODE_ID \
  -d note='Example Bird Note'
Copied!
1
2
3
4
Response
{
  "result": "success"
}
Copied!
1
2
3

# Delete Bird Note

POST /api/v1/device/note/delete

Delete the note for a specified Bird.

Required Parameters

auth_token string
A valid auth token
node_id string
A valid Canary node_id

Response

JSON structure with the result indicator.

Example

curl https://EXAMPLE.canary.tools/api/v1/device/note/delete \
  -d auth_token=EXAMPLE_AUTH_TOKEN \
  -d node_id=EXAMPLE_NODE_ID
Copied!
1
2
3
Response
{
  "result": "success"
}
Copied!
1
2
3