# Notes

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

# Get Flock Note

GET /api/v1/flock/note

Retrieve a Flock's note.

Required Parameters

auth_token string
A valid auth token
flock_id string
A valid flock_id

Response

JSON structure with the Flock note.

Example

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

# Add Flock Note

POST /api/v1/flock/note/add

Add a note to a specified Flock.

Required Parameters

auth_token string
A valid auth token
flock_id string
A valid flock_id
note string
A note for the Flock

Response

JSON structure with the result indicator.

Example

curl https://EXAMPLE.canary.tools/api/v1/flock/note/add \
  -d auth_token=EXAMPLE_AUTH_TOKEN \
  -d flock_id=EXAMPLE_FLOCK_ID \
  -d note='EXAMPLE_FLOCK_NOTE'
Copied!
1
2
3
4
Response
{
  "result": "success"
}
Copied!
1
2
3

# Delete Flock Note

DELETE /api/v1/flock/note/delete

Delete the note for a specified Flock.

Required Parameters

auth_token string
A valid auth token
flock_id string
A valid flock_id

Response

JSON structure with the result indicator.

Example

curl -X DELETE https://EXAMPLE.canary.tools/api/v1/flock/note/delete \
  -d auth_token=EXAMPLE_AUTH_TOKEN \
  -d flock_id=EXAMPLE_FLOCK_ID 
Copied!
1
2
3
Response
{
  "result": "success"
}
Copied!
1
2
3