As far as I understood, the MAC would be a feasible unique_id. I just tested some urls and:
GET
http://<host-ip>/fsapi/GET/netRemote.sys.net.wlan.macAddress?pin=1234&_=1618334697510
GET
http://<host-ip>/fsapi/GET/netRemote.sys.net.wired.macAddress?pin=1234&_=1618334697510
just returned MAC addresses in XML format:
on success:
<fsapiResponse>
<status>FS_OK</status>
<value><c8_array>00:00:00:00:00:00</c8_array></value>
</fsapiResponse>
on fail:
<fsapiResponse>
<status>FS_NODE_DOES_NOT_EXIST</status>
</fsapiResponse>
Is it possible to use this infomation in order to create a unique_id?