Fossil SCM

fossil-scm / www / json-api / api-version.md
1
# JSON API: /version
2
([⬑JSON API Index](index.md))
3
4
# Version (a.k.a. HAI)
5
6
**Status:** implemented
7
8
**Required privileges:** none
9
10
**Requests:**
11
12
- `/json/version`
13
- `/json/HAI` (alias borrowed from LOLCATZ jargon)
14
15
**Response payload example:**
16
17
```json
18
{
19
"manifestUuid":"20ff808f9809541d2eca6c49a17d5cbd16e1b93f",
20
"manifestVersion":"[20ff808f98]",
21
"manifestDate":"2011-09-09 16:49:23",
22
"manifestYear":"2011",
23
"releaseVersion":"1.19",
24
"releaseVersionNumber":119,
25
"jsonApiVersion": "YYYYMMDD" // added 20120409
26
}
27
```
28
29
Those particular payload fields were chosen only because they're defined
30
in `VERSION.h`. We may want to add other information, but nothing comes to
31
mind at this time.
32
33

Keyboard Shortcuts

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