REST API knowledge exchange
Post Reply
Cragdoo
Veeam Vanguard
Posts: 629
Liked: 251 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

GET /api/v1/jobs - only list backup jobs

Post by Cragdoo »

I am missing something, but API call GET /api/v1/jobs only lists Backup jobs and not BackupCopy jobs??


https://helpcenter.veeam.com/docs/backu ... l#tag/Jobs
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 669 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: GET /api/v1/jobs - only list backup jobs

Post by oleg.feoktistov »

Hi Craig,

Yes, that's the limitation for VBR REST v1.0-rev1 - only backup jobs for VMware vSphere infrastructure. Mentioned in the note in the link you shared and also implied in the available values of EJobType for typeFilter parameter. Did you find it unclear or confusing? Should we add something to the documentation?

Thanks,
Oleg
jhoughes
Veeam Vanguard
Posts: 282
Liked: 113 times
Joined: Apr 20, 2017 4:19 pm
Full Name: Joe Houghes
Location: Castle Rock, CO
Contact:

Re: GET /api/v1/jobs - only list backup jobs

Post by jhoughes » 2 people like this post

It may be more clear to state it as "In the current version, the REST API supports a JobType of Backup, and job objects of VMware VMs only."

I've sent this feedback to the docs team already.
Husband, Father, Solutions Architect, Geek | @DenverVMUG & @DenverPSUG leader | International Speaker | Veeam Vanguard | vExpert (PRO) | Cisco Champion
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 669 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: GET /api/v1/jobs - only list backup jobs

Post by oleg.feoktistov »

Got it, Joe. Thanks!
Cragdoo
Veeam Vanguard
Posts: 629
Liked: 251 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:

Re: GET /api/v1/jobs - only list backup jobs

Post by Cragdoo »

I agree with Joe, better to make a clear statement,rather than hide it away in filters or options
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 669 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: GET /api/v1/jobs - only list backup jobs

Post by oleg.feoktistov » 2 people like this post

Passed it directly to tech writers team. Thanks!
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 669 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: GET /api/v1/jobs - only list backup jobs

Post by oleg.feoktistov » 1 person likes this post

Changed the note accordingly.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests