API logic fixed -> return unix timestamp for ports, docs updated