Contents
/furetui/init/required/data
/furetui/init/optionnal/data
/furetui/homepage
/furetui/button/<buttonId>
/furetui/custom/view/<viewName>
/furetui/view/<viewId>
/furetui/space/<spaceId>
/furetui/action/<actionId>
/furetui/field/x2x/search
/furetui/list/x2m/get
/furetui/field/x2m/get/views
/furetui/data/create
/furetui/data/read
/furetui/data/read/<dataId>
/furetui/data/update
/furetui/data/delete
/furetui/data/search
All the route use the POST method and the JSON rendering. They must all return list of store mutation. See the store page:
[
``store mutation``
OR / AND
``translation definition``
OR / AND
``locale``
OR / AND
``client path for vue-router``
]
/furetui/init/required/data
¶First query called by FuretUI. The goal of this query is to initialize the client.
The params in body are:
route_name
: an existing route name in route.jsroute_params
: the information linkedWarning
Return quick data, allow to display quickly the UI
/furetui/init/optionnal/data
¶Second call. The goal is to load heavy data to improve the client and allow a degradate mode
Note
The query can be slower than required data because the main data is already present and this application may be usable.
/furetui/homepage
¶Called, when the router path is /
/furetui/button/<buttonId>
¶Called, when the button is clicked with params in body:
/furetui/custom/view/<viewName>
¶Called when the custom view is called, is not required to respond to this query
/furetui/view/<viewId>
¶Called when the view have been selected or changed.
/furetui/space/<spaceId>
¶Called when the view space been selected or changed.
optionnal values in body:
/furetui/action/<actionId>
¶Called when the view action been selected or changed.
optionnal values in body:
/furetui/field/x2x/search
¶Call to by Many2One and Many2ManyTags to search the remote value
the value in body are:
Warning
the wanted result is not a classical response
data id
,
…], data: [
store mutation
,- OR / AND
translation definition
- OR / AND
locale
- OR / AND
client path for vue-router
],
}
/furetui/list/x2m/get
¶Call to by One2Many and Many2Many to get children values
the value in body are:
/furetui/field/x2m/get/views
¶Call to by One2Many and Many2Many to get the children views
the value in body:
/furetui/data/create
¶Call to save an unexisting data
the value in body are:
all the change not only for this data
optionnal
Warning
Don’t forget to change path to pass in RO mode
/furetui/data/read
¶Call to read entries in function of filter
the value in body are:
/furetui/data/read/<dataId>
¶Call to read only one entry
the value in body are:
/furetui/data/update
¶Call to save an existing data
the value in body are:
all the change not only for this data
optionnal
Warning
Don’t forget to change path to use the good dataId and RO mode
/furetui/data/delete
¶Call to remove an existing data
the value in body are:
Warning
Don’t forget to call the mutation to remove the dataIds alse on furetui client
/furetui/data/search
¶Call to remove an existing data
the value in body are:
Warning
It is not a classical response, the goal it to define the available filter for search view
The view can be overwriting this route can be deprecated.
/furetui/client/login
¶Call when the FuretUI user click on the connection
button. The server may check
the identity of the user and this access rigth. The server:
/furetui/client/logout
¶Call when the FuretUI user click on the Logout
thumbnail. The server may close
the session of the user. The server:
Warning
Dont forget to remove all the data