Implement the below endpoint GET /flows/?partitions=serializedPartitions,onlyMain=true/false PAGINATION(limit,offset)