Fossil SCM

Changes for the following files: www/json-api/api-checkout.md www/json-api/api-finfo.md www/json-api/api-query.md www/json-api/api-tag.md

brickviking 2024-10-29 23:50 bv-corrections01
Commit d12511740f825271fae77a34f9bd68e4be5fcecd2c9fb69dfdb75d56d92a5b9d
--- www/json-api/api-checkout.md
+++ www/json-api/api-checkout.md
@@ -7,11 +7,11 @@
77
88
**Required permissions:** n/a (local access only)
99
1010
**Request:** `/json/status`
1111
12
-This command requires a local checkout and is analog to the "fossil
12
+This command requires a local checkout and is the analog to the "fossil
1313
status" command.
1414
1515
**Request Options:** currently none.
1616
1717
Payload example:
1818
--- www/json-api/api-checkout.md
+++ www/json-api/api-checkout.md
@@ -7,11 +7,11 @@
7
8 **Required permissions:** n/a (local access only)
9
10 **Request:** `/json/status`
11
12 This command requires a local checkout and is analog to the "fossil
13 status" command.
14
15 **Request Options:** currently none.
16
17 Payload example:
18
--- www/json-api/api-checkout.md
+++ www/json-api/api-checkout.md
@@ -7,11 +7,11 @@
7
8 **Required permissions:** n/a (local access only)
9
10 **Request:** `/json/status`
11
12 This command requires a local checkout and is the analog to the "fossil
13 status" command.
14
15 **Request Options:** currently none.
16
17 Payload example:
18
--- www/json-api/api-finfo.md
+++ www/json-api/api-finfo.md
@@ -20,11 +20,11 @@
2020
as opposed to listing all checkins. If set, neither "before" nor
2121
"after" have any effect.\
2222
CLI mode: `--checkin|-ci`
2323
- `before=DATETIME` only lists checkins from on or before this time.\
2424
CLI mode: `--before|-b`
25
-- `after=DATETIME` only lists checkins from on or before this time.
25
+- `after=DATETIME` only lists checkins from on or after this time.
2626
Using this option swaps the sort order, to provide reasonable
2727
behaviour in conjunction with the limit option.\
2828
Only one of "before" and "after" may be specified, and if both are
2929
specified then which one takes precedence is unspecified.\
3030
CLI mode: `--after|-a`
3131
--- www/json-api/api-finfo.md
+++ www/json-api/api-finfo.md
@@ -20,11 +20,11 @@
20 as opposed to listing all checkins. If set, neither "before" nor
21 "after" have any effect.\
22 CLI mode: `--checkin|-ci`
23 - `before=DATETIME` only lists checkins from on or before this time.\
24 CLI mode: `--before|-b`
25 - `after=DATETIME` only lists checkins from on or before this time.
26 Using this option swaps the sort order, to provide reasonable
27 behaviour in conjunction with the limit option.\
28 Only one of "before" and "after" may be specified, and if both are
29 specified then which one takes precedence is unspecified.\
30 CLI mode: `--after|-a`
31
--- www/json-api/api-finfo.md
+++ www/json-api/api-finfo.md
@@ -20,11 +20,11 @@
20 as opposed to listing all checkins. If set, neither "before" nor
21 "after" have any effect.\
22 CLI mode: `--checkin|-ci`
23 - `before=DATETIME` only lists checkins from on or before this time.\
24 CLI mode: `--before|-b`
25 - `after=DATETIME` only lists checkins from on or after this time.
26 Using this option swaps the sort order, to provide reasonable
27 behaviour in conjunction with the limit option.\
28 Only one of "before" and "after" may be specified, and if both are
29 specified then which one takes precedence is unspecified.\
30 CLI mode: `--after|-a`
31
--- www/json-api/api-query.md
+++ www/json-api/api-query.md
@@ -60,11 +60,11 @@
6060
6161
]
6262
}
6363
```
6464
65
-The column names are provided in a separate field is because their order
65
+The column names are provided in a separate field because their order
6666
is guaranteed to match the order of the query columns, whereas object
6767
key/value pairs might get reordered (typically sorted by key) when
6868
travelling through different JSON implementations. In this manner,
6969
clients can e.g. be sure to render the columns in the proper
7070
(query-specified) order.
@@ -76,10 +76,10 @@
7676
7777
Note the column *names* are never *guaranteed* to be exactly as they
7878
appear in the SQL *unless* they are qualified with an AS, e.g. `SELECT
7979
foo AS foo...`. When generating reports which need fixed column names, it
8080
is highly recommended to use an AS qualifier for every column, even if
81
-they use the same name as the column. This is the only way to guaranty
81
+they use the same name as the column. This is the only way to guarantee
8282
that the result column names will be stable. (FYI: that behaviour comes
8383
from sqlite3, not the JSON bits, and this behaviour *has* been known to
8484
change between sqlite3 versions (so this is not just an idle threat of
8585
*potential* future incompatibility).)
8686
--- www/json-api/api-query.md
+++ www/json-api/api-query.md
@@ -60,11 +60,11 @@
60
61 ]
62 }
63 ```
64
65 The column names are provided in a separate field is because their order
66 is guaranteed to match the order of the query columns, whereas object
67 key/value pairs might get reordered (typically sorted by key) when
68 travelling through different JSON implementations. In this manner,
69 clients can e.g. be sure to render the columns in the proper
70 (query-specified) order.
@@ -76,10 +76,10 @@
76
77 Note the column *names* are never *guaranteed* to be exactly as they
78 appear in the SQL *unless* they are qualified with an AS, e.g. `SELECT
79 foo AS foo...`. When generating reports which need fixed column names, it
80 is highly recommended to use an AS qualifier for every column, even if
81 they use the same name as the column. This is the only way to guaranty
82 that the result column names will be stable. (FYI: that behaviour comes
83 from sqlite3, not the JSON bits, and this behaviour *has* been known to
84 change between sqlite3 versions (so this is not just an idle threat of
85 *potential* future incompatibility).)
86
--- www/json-api/api-query.md
+++ www/json-api/api-query.md
@@ -60,11 +60,11 @@
60
61 ]
62 }
63 ```
64
65 The column names are provided in a separate field because their order
66 is guaranteed to match the order of the query columns, whereas object
67 key/value pairs might get reordered (typically sorted by key) when
68 travelling through different JSON implementations. In this manner,
69 clients can e.g. be sure to render the columns in the proper
70 (query-specified) order.
@@ -76,10 +76,10 @@
76
77 Note the column *names* are never *guaranteed* to be exactly as they
78 appear in the SQL *unless* they are qualified with an AS, e.g. `SELECT
79 foo AS foo...`. When generating reports which need fixed column names, it
80 is highly recommended to use an AS qualifier for every column, even if
81 they use the same name as the column. This is the only way to guarantee
82 that the result column names will be stable. (FYI: that behaviour comes
83 from sqlite3, not the JSON bits, and this behaviour *has* been known to
84 change between sqlite3 versions (so this is not just an idle threat of
85 *potential* future incompatibility).)
86
--- www/json-api/api-tag.md
+++ www/json-api/api-tag.md
@@ -98,15 +98,15 @@
9898
path element.
9999
- `limit=int` (defalt=0) Limits the number of results (0=no limit).
100100
Since they are ordered from oldest to newest, the newest N results
101101
will be returned.
102102
- `type=string` (default=`*`) Searches only for the given type of
103
- artifact (using fossil's conventional type naming: ci, e, t, w.
103
+ artifact (using fossil's conventional type naming: ci, e, t, w.)
104104
- `raw=bool` (=false) If enabled, the response is an array of hashes
105105
of the requested artifact type; otherwise,
106106
it is an array of higher-level objects. If this is
107
- true, the "name" property is interpretted as-is. If it is false, the
107
+ true, the "name" property is interpreted as-is. If it is false, the
108108
name is automatically prepended with "sym-" (meaning a branch).
109109
(FIXME: the current semantics are confusing and hard to remember.
110110
Re-do them.)
111111
112112
**Response payload example, in RAW mode: (expect this format to change
113113
--- www/json-api/api-tag.md
+++ www/json-api/api-tag.md
@@ -98,15 +98,15 @@
98 path element.
99 - `limit=int` (defalt=0) Limits the number of results (0=no limit).
100 Since they are ordered from oldest to newest, the newest N results
101 will be returned.
102 - `type=string` (default=`*`) Searches only for the given type of
103 artifact (using fossil's conventional type naming: ci, e, t, w.
104 - `raw=bool` (=false) If enabled, the response is an array of hashes
105 of the requested artifact type; otherwise,
106 it is an array of higher-level objects. If this is
107 true, the "name" property is interpretted as-is. If it is false, the
108 name is automatically prepended with "sym-" (meaning a branch).
109 (FIXME: the current semantics are confusing and hard to remember.
110 Re-do them.)
111
112 **Response payload example, in RAW mode: (expect this format to change
113
--- www/json-api/api-tag.md
+++ www/json-api/api-tag.md
@@ -98,15 +98,15 @@
98 path element.
99 - `limit=int` (defalt=0) Limits the number of results (0=no limit).
100 Since they are ordered from oldest to newest, the newest N results
101 will be returned.
102 - `type=string` (default=`*`) Searches only for the given type of
103 artifact (using fossil's conventional type naming: ci, e, t, w.)
104 - `raw=bool` (=false) If enabled, the response is an array of hashes
105 of the requested artifact type; otherwise,
106 it is an array of higher-level objects. If this is
107 true, the "name" property is interpreted as-is. If it is false, the
108 name is automatically prepended with "sym-" (meaning a branch).
109 (FIXME: the current semantics are confusing and hard to remember.
110 Re-do them.)
111
112 **Response payload example, in RAW mode: (expect this format to change
113

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button