You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/07/16 10:52:51 UTC
svn commit: r1691339 -
/jena/site/trunk/content/documentation/fuseki2/fuseki-server-protocol.mdtext
Author: andy
Date: Thu Jul 16 08:52:51 2015
New Revision: 1691339
URL: http://svn.apache.org/r1691339
Log:
Document /$/backups-list
Modified:
jena/site/trunk/content/documentation/fuseki2/fuseki-server-protocol.mdtext
Modified: jena/site/trunk/content/documentation/fuseki2/fuseki-server-protocol.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/fuseki2/fuseki-server-protocol.mdtext?rev=1691339&r1=1691338&r2=1691339&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/fuseki2/fuseki-server-protocol.mdtext (original)
+++ jena/site/trunk/content/documentation/fuseki2/fuseki-server-protocol.mdtext Thu Jul 16 08:52:51 2015
@@ -41,6 +41,7 @@ Further operations may be added within t
| <tt>GET</tt> | `/$/stats/*{name}*` | |
||
| <tt>POST</tt> | `/$/backup/*{name}*` | |
+| <tt>GET</tt> | `/$/backup-list/` | |
| <tt>POST</tt> | `/$/sleep` | |
||
| <tt>GET</tt> | `/$/tasks/` | |
@@ -143,7 +144,7 @@ Pattern: `/$/backup/*{name}*`
This operation initiates a backup and returns a JSON object with the task Id in it.
-Backups are written to the server local directory 'backups' as gzip-compressed N-Quads files.
+Backups are written to the server local directory 'backups' as gzip-compressed N-Quads files.
See [Tasks](#tasks) for how to monitor a backups progress.
@@ -156,6 +157,14 @@ The task id can be used to construct a U
/$/tasks/*{taskId}*
```
+Pattern: `/$/backups-lists/`
+
+Returns a list of all the files in the backup area of the server. This is
+useful for managing the files externally.
+
+The returned JOSN object is `{ backups: [ ... ] }` where the `[]` array is
+a list of file names.
+
## Tasks
Some operations cause a backgrond task to be executed, backup is an example.
The result of such operations includes a json object with teh task id and