make readonly gateway apis