Skip to content
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 be null for now. See Clients.
  • uri_pattern. Request URI. It should start with /. Example: /posts/{id}/{edit?}. If id is a key in start method param, then {id} is replaced by its value. If edit key 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.

Clone this wiki locally