3 <url ServiceParameter="Panel.APIInstallWizard" pattern="api/page/config/" />
4 <url ServiceParameter="Panel.APIHome" pattern="api/page/home/" />
5 <url ServiceParameter="Panel.MainPage" pattern="api/page/" />
7 <url ServiceParameter="OAuth2.Authorize" pattern="api/auth/" />
8 <url ServiceParameter="OAuth2.RequestToken" pattern="api/token/" />
10 <!-- general endpoint -->
11 <url ServiceParameter="API.Welcome" pattern="api/welcome/" />
12 <!-- bconsole endpoints -->
13 <url ServiceParameter="API.ConsoleCommand" pattern="api/console/" />
14 <!-- database endpoints -->
15 <url ServiceParameter="API.Catalog" pattern="api/catalog/" />
16 <url ServiceParameter="API.DbSize" pattern="api/dbsize/" />
17 <!-- director endpoints -->
18 <url ServiceParameter="API.Directors" pattern="api/directors/" />
19 <!-- clients (file daemons) endpoints -->
20 <url ServiceParameter="API.Clients" pattern="api/clients/" />
21 <url ServiceParameter="API.Client" pattern="api/clients/{id}/" parameters.id="\d+" />
22 <url ServiceParameter="API.Clients" pattern="api/clients/limit/{limit}/" parameters.limit="\d+" />
23 <url ServiceParameter="API.ClientsShow" pattern="api/clients/show/" />
24 <url ServiceParameter="API.ClientShow" pattern="api/clients/show/{id}/" parameters.id="\d+" />
25 <url ServiceParameter="API.ClientStatus" pattern="api/clients/status/{id}/" parameters.id="\d+" />
26 <url ServiceParameter="API.JobsForClient" pattern="api/clients/jobs/{id}/" parameters.id="\d+" />
27 <!-- storages (storage daemons) endpoints -->
28 <url ServiceParameter="API.Storages" pattern="api/storages/" />
29 <url ServiceParameter="API.Storage" pattern="api/storages/{id}/" parameters.id="\d+" />
30 <url ServiceParameter="API.Storages" pattern="api/storages/limit/{limit}/" parameters.limit="\d+" />
31 <url ServiceParameter="API.StoragesShow" pattern="api/storages/show/" />
32 <url ServiceParameter="API.StorageShow" pattern="api/storages/show/{id}/" parameters.id="\d+" />
33 <url ServiceParameter="API.StorageStatus" pattern="api/storages/status/{id}/" parameters.id="\d+" />
34 <url ServiceParameter="API.StorageMount" pattern="api/storages/mount/{id}/{drive}/{slot}/" parameters.id="\d+" parameters.drive="\d+" parameters.slot="\d+" />
35 <url ServiceParameter="API.StorageUmount" pattern="api/storages/umount/{id}/{drive}/" parameters.id="\d+" parameters.drive="\d+" />
36 <url ServiceParameter="API.StorageRelease" pattern="api/storages/release/{id}/{drive}/" parameters.id="\d+" parameters.drive="\d+" />
37 <!-- volumes (media) endpoints-->
38 <url ServiceParameter="API.Volumes" pattern="api/volumes/" />
39 <url ServiceParameter="API.Volumes" pattern="api/volumes/limit/{limit}/" parameters.limit="\d+" />
40 <url ServiceParameter="API.Volume" pattern="api/volumes/{id}/" parameters.id="\d+" />
41 <url ServiceParameter="API.VolumePrune" pattern="api/volumes/prune/{id}/" parameters.id="\d+" />
42 <url ServiceParameter="API.VolumePurge" pattern="api/volumes/purge/{id}/" parameters.id="\d+" />
43 <url ServiceParameter="API.VolumesRequired" pattern="api/volumes/required/{jobid}/{fileid}/" parameters.jobid="\d+" parameters.fileid="\d+" />
44 <url ServiceParameter="API.JobsOnVolume" pattern="api/volumes/jobs/{id}/" parameters.id="\d+" />
45 <!-- pools endpoints -->
46 <url ServiceParameter="API.Pools" pattern="api/pools/" />
47 <url ServiceParameter="API.Pool" pattern="api/pools/{id}/" parameters.id="\d+" />
48 <url ServiceParameter="API.Pools" pattern="api/pools/limit/{limit}/" parameters.limit="\d+" />
49 <url ServiceParameter="API.PoolUpdate" pattern="api/pools/update/{id}/" parameters.id="\d+" />
50 <url ServiceParameter="API.PoolUpdateVolumes" pattern="api/pools/update/volumes/{id}/" parameters.id="\d+" />
51 <url ServiceParameter="API.PoolsShow" pattern="api/pools/show/" />
52 <url ServiceParameter="API.PoolShow" pattern="api/pools/show/{id}/" parameters.id="\d+" />
53 <!-- jobs endpoints-->
54 <url ServiceParameter="API.Jobs" pattern="api/jobs/" />
55 <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/" />
56 <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/type/{type}" parameters.type="[a-zA-Z]" />
57 <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/type/{type}/limit/{limit}/" parameters.type="[a-zA-Z]" parameters.limit="\d+" />
58 <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/limit/{limit}/" parameters.limit="\d+" />
59 <url ServiceParameter="API.Job" pattern="api/jobs/{id}/" parameters.id="\d+" />
60 <url ServiceParameter="API.Jobs" pattern="api/jobs/limit/{limit}/" parameters.limit="\d+" />
61 <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+" />
62 <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+" />
63 <url ServiceParameter="API.JobEstimate" pattern="api/jobs/estimate/" />
64 <url ServiceParameter="API.JobRun" pattern="api/jobs/run/" />
65 <url ServiceParameter="API.JobCancel" pattern="api/jobs/cancel/{id}/" parameters.id="\d+"/>
66 <url ServiceParameter="API.JobsShow" pattern="api/jobs/show/" />
67 <url ServiceParameter="API.JobShow" pattern="api/jobs/show/{id}/" parameters.id="\d+" />
68 <url ServiceParameter="API.JobShow" pattern="api/jobs/show/name/{name}/" parameters.name="[a-zA-Z0-9:.\-_ ]+" />
69 <url ServiceParameter="API.JobTotals" pattern="api/jobs/totals/" />
70 <url ServiceParameter="API.RestoreRun" pattern="api/jobs/restore/" />
71 <!-- bvfs endpoints-->
72 <url ServiceParameter="API.BVFSUpdate" pattern="api/bvfs/update/" />
73 <url ServiceParameter="API.BVFSLsDirs" pattern="api/bvfs/lsdirs/" />
74 <url ServiceParameter="API.BVFSLsDirs" pattern="api/bvfs/lsdirs/limit/{limit}/" parameters.limit="\d+" />
75 <url ServiceParameter="API.BVFSLsDirs" pattern="api/bvfs/lsdirs/limit/{limit}/{offset}/" parameters.limit="\d+" parameters.offset="\d+" />
76 <url ServiceParameter="API.BVFSLsFiles" pattern="api/bvfs/lsfiles/" />
77 <url ServiceParameter="API.BVFSLsFiles" pattern="api/bvfs/lsfiles/limit/{limit}/" parameters.limit="\d+" />
78 <url ServiceParameter="API.BVFSLsFiles" pattern="api/bvfs/lsfiles/limit/{limit}/{offset}/" parameters.limit="\d+" parameters.offset="\d+" />
79 <url ServiceParameter="API.BVFSVersions" pattern="api/bvfs/versions/{client}/{jobid}/{pathid}/{filenameid}/" parameters.client="[a-zA-Z0-9:.\-_ ]+" parameters.jobid="\d+" parameters.pathid="\d+" parameters.filenameid="\d+" />
80 <url ServiceParameter="API.BVFSGetJobids" pattern="api/bvfs/getjobids/{id}/" parameters.id="[\d\,]+" />
81 <url ServiceParameter="API.BVFSRestore" pattern="api/bvfs/restore/" />
82 <url ServiceParameter="API.BVFSClearCache" pattern="api/bvfs/clear/" />
83 <!-- joblog endpoints -->
84 <url ServiceParameter="API.JobLog" pattern="api/joblog/{id}/" parameters.id="\d+" />
85 <!-- fileset endpoints -->
86 <url ServiceParameter="API.FileSets" pattern="api/filesets/" />
87 <url ServiceParameter="API.FileSet" pattern="api/filesets/{id}/" parameters.id="\d+" />
88 <url ServiceParameter="API.FileSetsInfo" pattern="api/filesets/info/" />
89 <!-- Bacula config module endpoints -->
90 <url ServiceParameter="API.Config" pattern="api/config/" />
91 <url ServiceParameter="API.Config" pattern="api/config/{component_type}/" parameters.component_type="[a-z]+" />
92 <url ServiceParameter="API.Config" pattern="api/config/{component_type}/{resource_type}/" parameters.component_type="[a-z]+" parameters.resource_type="[a-zA-Z]+" />
93 <url ServiceParameter="API.Config" pattern="api/config/{component_type}/{resource_type}/{resource_name}/" parameters.component_type="[a-z]+" parameters.resource_type="[a-zA-Z]+" parameters.resource_name="[a-zA-Z0-9:.\-_ ]+" />