Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-developer:ubus:session [2020/02/02 13:24] – [login call description] stokito | docs:guide-developer:ubus:session [2020/02/02 15:13] (current) – [Example of manual session creation] stokito | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ^ Path ^ Procedure ^ Signature ^ Description ^ | ^ Path ^ Procedure ^ Signature ^ Description ^ | ||
| - | | '' | + | | '' |
| | '' | | '' | ||
| | '' | | '' | ||
| Line 23: | Line 23: | ||
| **Note:** When using ubus over HTTP, setting '' | **Note:** When using ubus over HTTP, setting '' | ||
| + | |||
| + | **Note:** Sessions are stored in memory so they will persist as long as '' | ||
| + | |||
| ==== login call description ==== | ==== login call description ==== | ||
| Line 94: | Line 97: | ||
| " | " | ||
| " | " | ||
| - | "write": { | + | "ubus": { |
| " | " | ||
| " | " | ||
| Line 107: | Line 110: | ||
| } | } | ||
| } | } | ||
| - | root@openwrt:~# ubus call session access '{ " | + | root@OpenWrt:~# ubus call session access '{ " |
| { | { | ||
| " | " | ||