Fossil

Diff
Login

Diff

Differences From Artifact [ca03778e8c]:

To Artifact [13a920c35c]:


71
72
73
74
75
76
77
78
79



80
81


82
83
84
85
86
87
88
71
72
73
74
75
76
77


78
79
80


81
82
83
84
85
86
87
88
89







-
-
+
+
+
-
-
+
+







  but it also has some response-dispatching uses on the client side.
- `authToken`: Authentication token. Created by a login
  request. Determines what access rights the user has, and any given
  request may require specific rights. In principle this is required
  by any request which needs non-guest privileges, but cookie-aware
  clients do not manually need to track this (it is managed as a
  cookie by the agent/browser).
    - Note that when using a fossil server with the `--localauth` option,
    the `authToken` should not be used. FIXME: have the JSON API simply ignore
    - Note that when accessing fossil over a local server instance
    which was started with the `--localauth` flag, the `authToken`
    will be ignored and need not be sent with any requests. The user
    the `authToken` for this case, rather than failing if the `authToken`
    is missing or invalid.
    will automatically be given full privileges, as if they were
    using CLI mode.
- `payload`: Command-specific parameters. Most can optionally come in
  via GET parameters, but those taking complex structures expect them
  to be placed here.
- `indent`: Optionally specifies indentation for the output. 0=no
  indention. 1=a single TAB character for each level of
  indentation. >1 means that many spaces per level. e.g. indent=7
  means to indent 7 spaces per object/array depth level. cson also