]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/API/endpoints.xml
baculum: Remove unused api endpoints
[bacula/bacula] / gui / baculum / protected / API / endpoints.xml
index 4d003682048fe98a66e4c41b1beb6ffa41c3a2d8..a4f3a35ed79158420cb4f645f8346cfb317681d6 100644 (file)
        <!-- volumes (media) endpoints-->
        <url ServiceParameter="API.Volumes" pattern="api/volumes/" />
        <url ServiceParameter="API.Volumes" pattern="api/volumes/limit/{limit}/" parameters.limit="\d+" />
-       <url ServiceParameter="API.Volumes" pattern="api/volumes/withpools/" />
-       <url ServiceParameter="API.Volumes" pattern="api/volumes/withpools/limit/{limit}/" parameters.limit="\d+" />
        <url ServiceParameter="API.Volume" pattern="api/volumes/{id}/" parameters.id="\d+" />
        <url ServiceParameter="API.VolumePrune" pattern="api/volumes/prune/{id}/" parameters.id="\d+" />
        <url ServiceParameter="API.VolumePurge" pattern="api/volumes/purge/{id}/" parameters.id="\d+" />
+       <url ServiceParameter="API.VolumesRequired" pattern="api/volumes/required/{jobid}/{fileid}/" parameters.jobid="\d+" parameters.fileid="\d+" />
        <url ServiceParameter="API.JobsOnVolume" pattern="api/volumes/jobs/{id}/" parameters.id="\d+" />
        <!-- pools endpoints -->
        <url ServiceParameter="API.Pools" pattern="api/pools/" />
@@ -59,7 +58,8 @@
        <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/limit/{limit}/" parameters.limit="\d+" />
        <url ServiceParameter="API.Job" pattern="api/jobs/{id}/" parameters.id="\d+" />
        <url ServiceParameter="API.Jobs" pattern="api/jobs/limit/{limit}/" parameters.limit="\d+" />
-       <url ServiceParameter="API.JobsRecent" pattern="api/jobs/recent/{name}/{clientid}/" parameters.name="[a-zA-Z0-9:.\-_ ]+" parameters.clientid="\d+" />
+       <url ServiceParameter="API.JobsRecent" pattern="api/jobs/recent/{name}/client/{client}/filesetid/{filesetid}/" parameters.name="[a-zA-Z0-9:.\-_ ]+" parameters.client="[a-zA-Z0-9:.\-_ ]+" parameters.filesetid="\d+" />
+       <url ServiceParameter="API.JobsRecent" pattern="api/jobs/recent/{name}/clientid/{clientid}/filesetid/{filesetid}/" parameters.name="[a-zA-Z0-9:.\-_ ]+" parameters.clientid="\d+" parameters.filesetid="\d+" />
        <url ServiceParameter="API.JobEstimate" pattern="api/jobs/estimate/" />
        <url ServiceParameter="API.JobRun" pattern="api/jobs/run/" />
        <url ServiceParameter="API.JobCancel" pattern="api/jobs/cancel/{id}/" parameters.id="\d+"/>
@@ -85,9 +85,8 @@
        <!-- fileset endpoints -->
        <url ServiceParameter="API.FileSets" pattern="api/filesets/" />
        <url ServiceParameter="API.FileSet" pattern="api/filesets/{id}/" parameters.id="\d+" />
+       <url ServiceParameter="API.FileSetsInfo" pattern="api/filesets/info/" />
        <!-- Bacula config module endpoints -->
-       <url ServiceParameter="API.JSONToolsTest" pattern="api/config/tools/test/" />
-       <url ServiceParameter="API.ConfigDirTest" pattern="api/config/directory/test/" />
        <url ServiceParameter="API.Config" pattern="api/config/" />
        <url ServiceParameter="API.Config" pattern="api/config/{component_type}/" parameters.component_type="[a-z]+" />
        <url ServiceParameter="API.Config" pattern="api/config/{component_type}/{resource_type}/" parameters.component_type="[a-z]+" parameters.resource_type="[a-zA-Z]+" />