Fossil

JSON API: /finfo
Login

JSON API: /finfo

(⬑JSON API Index)

File Information

Status: implemented 2012-something, but output structure is likely to change.

Required privileges: "o"

Request: /json/finfo?name=path/to/file

Options:

Response payload example (very likely to change!):

{
"name":"ajax/i-test/rhino-shell.js",
"checkins":[{
  "checkin":"6b7ddfefbfb871f793378d8f276fe829106ca49b",
  "uuid":"2b735676d55e3d06d670ffbc643e5d3f748b95ea",
  "timestamp":1329514170,
  "user":"viriketo",
  "comment":"<...snip...>",
  "size":6293,
  "state":"added|modified|removed"
  },…]
}

FIXME: there is a semantic discrepancy between /json/artifact's payload.checkins[N].uuid and this command's.