Fixed API route order to resolve get_port_graphs working