GateDevice list from db to api