API: frontend realms index, show, and entrypoint v2

Implementation for Issue #213

Rebased.