API settings of HTML5 Origam

How can I set up APIs to they work with HTML5?
-Anonymous
-Role based.

You need to configure this in appsettings.json:

"UserApiOptions": {
    "RestrictedRoutes": [
      "/api/private"
    ],
    "PublicRoutes": [
      "/api/anonym1",
      "/api/anonym2"
    ]
  },