Flexible Data Records (FDRs)
A Flexible Data Record is an arbitrary record that AmpliFi will store for a user and make available across the user's devices. Users may add and modify FDRs unless they are on a protected list.
Synchronize
POST /fdrs/
This API receives a list of new or modified FDRs from the user. Each FDR has a name and a date.
The FDR names are checked against a list of protected names. If a modified FDR name is in the protected list the change is ignored. If the FDR name is not protected, and the FDR has a later date than the one already stored, the API stores the FDR.
After processing any new or modified FDRs, an array of all FDRs is returned to the user.
Request body example:
{
"whatever5": { //took from name
"name": "whatever5", //required
"dtsModified": "2022-08-03T09:57:54.075Z", //required
"value": { // The payload object
"test": 123,
"test2": "asd"
},
"isModified": true
}
}
Response example: