I am running Baculum/Bacula  9.6.3 and everything seems to be working
great.  My question regarding the syntax of Baculum Web API.  I am trying
to initiate a job run using the "/api/v1/jobs/run" endpoint but can't
figure out the syntax based on the documentation (
https://www.bacula.org/downloads/baculum/baculum-api).

If you could reply with a simple example of the URL string that shows
the parameters in their correct format, I would greatly appreciate it.

When I run something along the lines of

/api/v1/jobs/run?name=JOB_TEST_02&client=DAL-FVSWRK-006-fd&storage=STORAGE_01&pool=POOL_01&fileset=Test_File_Set_01&level=F

I am getting a response of:

{
    "output": "Job does not exist.",
    "error": 50
}

I can successfully run the job from the Baculum UI.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to