AppFramework Rewrite + Public Rest Api