-
-
Notifications
You must be signed in to change notification settings - Fork 3
Routes
Manolo Cantón edited this page Aug 20, 2024
·
13 revisions
SceneManagerRoute is a custom resource that defines a route for a client with the following properties:
-
client. It cannot benullfor now. See Clients. -
uri_pattern. Request URI. It should start with/. Example:/posts/{id}/{edit?}. Ifidis a key instartmethod param, then{id}is replaced by its value. Ifeditkey does not exist, URI is/posts/{id}. -
headers. Default headers for requests created with this route. -
method. Request method: GET, POST, PUT... -
priority. Request priority in the client. A lower priority value is requesting before. -
auth_type. Authorization type. It is used to add headers. -
auth_route. Route to request authorization.
The routes folder has some examples.