# Clubs - Monitors
# Events
--- CLUB_MONITORS_UPDATED ---
{
"event": "CLUB_MONITORS_UPDATED",
"data": {
"club_id": 123
}
}
# Validation
{
"monitors": [
"required",
"array",
"3 entries maximum, due to limitation of old application",
{
"person_id": [
"required",
"An existing person id",
]
}
]
}
# List
--- ENDPOINT ---
Domain: equidata
Url: /clubs/1/monitors
Method: GET
--- EXAMPLE RESPONSE ---
[
{
"person": {} // a person entity
}
// Other monitors
]
# Update
--- ENDPOINT ---
Domain: equidata
Url: /clubs/1/monitors
Method: PUT
--- EXAMPLE PAYLOAD ---
{
"monitors": [
{
"person_id": 321
}
]
}
--- EXAMPLE RESPONSE ---
[
{
"person": {} // a person entity
}
// Other monitors
]