(#22110) document catalog endpoint

This is now ready for review.