Sphinx uses .. code-block:: directives to enable highlighting:
http://sphinx-doc.org/markup/code.html#directive-code-block
Use
for i in *.rst; do
sed -i 's/code::/code-block::/g' $i
done
to update these strings to enable proper highlighting.
Note: A have disabled the windows "bash" one, because the highlighting
is broken anyway...
36 lines
793 B
ReStructuredText
36 lines
793 B
ReStructuredText
GET /rest/db/file
|
|
=================
|
|
|
|
Returns most data available about a given file, including version and
|
|
availability.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"availability": [
|
|
"I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU"
|
|
],
|
|
"global": {
|
|
"flags": "0644",
|
|
"localVersion": 3,
|
|
"modified": "2015-04-20T22:20:45+09:00",
|
|
"name": "util.go",
|
|
"numBlocks": 1,
|
|
"size": 9642,
|
|
"version": [
|
|
"5407294127585413568:1"
|
|
]
|
|
},
|
|
"local": {
|
|
"flags": "0644",
|
|
"localVersion": 4,
|
|
"modified": "2015-04-20T22:20:45+09:00",
|
|
"name": "util.go",
|
|
"numBlocks": 1,
|
|
"size": 9642,
|
|
"version": [
|
|
"5407294127585413568:1"
|
|
]
|
|
}
|
|
}
|