]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/API/endpoints.xml
cc5c656d450bea3b83b1addeb89447746afa8796
[bacula/bacula] / gui / baculum / protected / API / endpoints.xml
1 <urls>
2         <!-- Pages -->
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/" />
6         <!-- OAuth2 -->
7         <url ServiceParameter="OAuth2.Authorize" pattern="api/auth/" />
8         <url ServiceParameter="OAuth2.RequestToken" pattern="api/token/" />
9
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.Volumes" pattern="api/volumes/withpools/" />
41         <url ServiceParameter="API.Volumes" pattern="api/volumes/withpools/limit/{limit}/" parameters.limit="\d+" />
42         <url ServiceParameter="API.Volume" pattern="api/volumes/{id}/" parameters.id="\d+" />
43         <url ServiceParameter="API.VolumePrune" pattern="api/volumes/prune/{id}/" parameters.id="\d+" />
44         <url ServiceParameter="API.VolumePurge" pattern="api/volumes/purge/{id}/" parameters.id="\d+" />
45         <url ServiceParameter="API.JobsOnVolume" pattern="api/volumes/jobs/{id}/" parameters.id="\d+" />
46         <!-- pools endpoints -->
47         <url ServiceParameter="API.Pools" pattern="api/pools/" />
48         <url ServiceParameter="API.Pool" pattern="api/pools/{id}/" parameters.id="\d+" />
49         <url ServiceParameter="API.Pools" pattern="api/pools/limit/{limit}/" parameters.limit="\d+" />
50         <url ServiceParameter="API.PoolUpdate" pattern="api/pools/update/{id}/" parameters.id="\d+" />
51         <url ServiceParameter="API.PoolUpdateVolumes" pattern="api/pools/update/volumes/{id}/" parameters.id="\d+" />
52         <url ServiceParameter="API.PoolsShow" pattern="api/pools/show/" />
53         <url ServiceParameter="API.PoolShow" pattern="api/pools/show/{id}/" parameters.id="\d+" />
54         <!-- jobs endpoints-->
55         <url ServiceParameter="API.Jobs" pattern="api/jobs/" />
56         <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/" />
57         <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/type/{type}" parameters.type="[a-zA-Z]" />
58         <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/type/{type}/limit/{limit}/" parameters.type="[a-zA-Z]" parameters.limit="\d+" />
59         <url ServiceParameter="API.JobTasks" pattern="api/jobs/tasks/limit/{limit}/" parameters.limit="\d+" />
60         <url ServiceParameter="API.Job" pattern="api/jobs/{id}/" parameters.id="\d+" />
61         <url ServiceParameter="API.Jobs" pattern="api/jobs/limit/{limit}/" parameters.limit="\d+" />
62         <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+" />
63         <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+" />
64         <url ServiceParameter="API.JobEstimate" pattern="api/jobs/estimate/" />
65         <url ServiceParameter="API.JobRun" pattern="api/jobs/run/" />
66         <url ServiceParameter="API.JobCancel" pattern="api/jobs/cancel/{id}/" parameters.id="\d+"/>
67         <url ServiceParameter="API.JobsShow" pattern="api/jobs/show/" />
68         <url ServiceParameter="API.JobShow" pattern="api/jobs/show/{id}/" parameters.id="\d+" />
69         <url ServiceParameter="API.JobShow" pattern="api/jobs/show/name/{name}/" parameters.name="[a-zA-Z0-9:.\-_ ]+" />
70         <url ServiceParameter="API.JobTotals" pattern="api/jobs/totals/" />
71         <url ServiceParameter="API.RestoreRun" pattern="api/jobs/restore/" />
72         <!-- bvfs endpoints-->
73         <url ServiceParameter="API.BVFSUpdate" pattern="api/bvfs/update/" />
74         <url ServiceParameter="API.BVFSLsDirs" pattern="api/bvfs/lsdirs/" />
75         <url ServiceParameter="API.BVFSLsDirs" pattern="api/bvfs/lsdirs/limit/{limit}/" parameters.limit="\d+" />
76         <url ServiceParameter="API.BVFSLsDirs" pattern="api/bvfs/lsdirs/limit/{limit}/{offset}/" parameters.limit="\d+" parameters.offset="\d+" />
77         <url ServiceParameter="API.BVFSLsFiles" pattern="api/bvfs/lsfiles/" />
78         <url ServiceParameter="API.BVFSLsFiles" pattern="api/bvfs/lsfiles/limit/{limit}/" parameters.limit="\d+" />
79         <url ServiceParameter="API.BVFSLsFiles" pattern="api/bvfs/lsfiles/limit/{limit}/{offset}/" parameters.limit="\d+" parameters.offset="\d+" />
80         <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+" />
81         <url ServiceParameter="API.BVFSGetJobids" pattern="api/bvfs/getjobids/{id}/" parameters.id="[\d\,]+" />
82         <url ServiceParameter="API.BVFSRestore" pattern="api/bvfs/restore/" />
83         <url ServiceParameter="API.BVFSClearCache" pattern="api/bvfs/clear/" />
84         <!-- joblog endpoints -->
85         <url ServiceParameter="API.JobLog" pattern="api/joblog/{id}/" parameters.id="\d+" />
86         <!-- fileset endpoints -->
87         <url ServiceParameter="API.FileSets" pattern="api/filesets/" />
88         <url ServiceParameter="API.FileSet" pattern="api/filesets/{id}/" parameters.id="\d+" />
89         <url ServiceParameter="API.FileSetsInfo" pattern="api/filesets/info/" />
90         <!-- Bacula config module endpoints -->
91         <url ServiceParameter="API.JSONToolsTest" pattern="api/config/tools/test/" />
92         <url ServiceParameter="API.ConfigDirTest" pattern="api/config/directory/test/" />
93         <url ServiceParameter="API.Config" pattern="api/config/" />
94         <url ServiceParameter="API.Config" pattern="api/config/{component_type}/" parameters.component_type="[a-z]+" />
95         <url ServiceParameter="API.Config" pattern="api/config/{component_type}/{resource_type}/" parameters.component_type="[a-z]+" parameters.resource_type="[a-zA-Z]+" />
96         <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:.\-_ ]+" />
97 </urls>