[
https://issues.apache.org/jira/browse/JENA-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605333#comment-14605333
]
ASF GitHub Bot commented on JENA-979:
-------------------------------------
Github user rvesse commented on the pull request:
https://github.com/apache/jena/pull/82#issuecomment-116555847
+1 to the idea
The implementation seems to violate REST principles though
`POST` should be used for changing data so should not be supported for a
service that only provides information
`HEAD` should be used only to determine what the resource supports so
should not return a body and should only return information about supported
methods and content-types
> add a fuseki admin service to list all existing backups
> -------------------------------------------------------
>
> Key: JENA-979
> URL: https://issues.apache.org/jira/browse/JENA-979
> Project: Apache Jena
> Issue Type: New Feature
> Components: Fuseki
> Affects Versions: Fuseki 2.0.0, Fuseki 2.0.1, Fuseki 2.3.0
> Reporter: Yang Yuanzhe
> Priority: Minor
>
> Add a fuseki admin service to list all existing backups.
> Service URL: $/backupList
> Response example:
> {
> "backups" : [
> "ds_2015-06-08_04-23-02.nq.gz" ,
> "ds_2015-06-08_07-57-10.nq.gz" ,
> "ds_2015-06-08_07-57-48.nq.gz" ,
> "ds_2015-06-09_03-46-37.nq.gz" ,
> "ds_2015-06-17_12-20-31.nq" ,
> "ds_2015-06-17_12-20-31.nq.gz" ,
> "ds_2015-06-23_10-53-47.nq.gz"
> ]
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)