Files
oc-server3/htdocs/okapi/services/replicate/info.xml
2014-10-08 10:06:07 +02:00

31 lines
1.4 KiB
XML

<xml>
<brief>Get information on current changelog and fulldump state</brief>
<issue-id>111</issue-id>
<desc>
<p><b>Beta status.</b> Get information on current changelog and fulldump state.</p>
</desc>
<common-format-params/>
<returns>
<p>A dictionary of the following structure:</p>
<ul>
<li>
<p><b>changelog</b> - a dictionary of the following structure:</p>
<ul>
<li><b>min_since</b> - the lowest allowed value for the <b>since</b> attribute
(the ID of the last changelog entry was already removed from our database),</li>
<li><b>revision</b> - the current revision of the database (the ID of the
newest changelog entry kept in our database),</li>
</ul>
</li>
<li>
<p><b>latest_fulldump</b> - a dictionary of the following structure:</p>
<ul>
<li><b>revision</b> - revision of the database saved in the latest fulldump,</li>
<li><b>generated_at</b> - date and time (ISO 8601) when the fulldump was generated,</li>
<li><b>size</b> - size of the file, in bytes,</li>
<li><b>size_uncompressed</b> - approximate size of the uncompressed contents, in bytes.</li>
</ul>
</li>
</ul>
</returns>
</xml>