REST API knowledge exchange
Post Reply
Henrik.Grevelund
Service Provider
Posts: 190
Liked: 30 times
Joined: Feb 13, 2017 2:56 pm
Full Name: Henrik Grevelund
Contact:

automation/sessions & /sessions whats the difference

Post by Henrik.Grevelund »

Hi,

To monitor a Veeam soltions it's important to be able to see all sessions/jobs/taks that runs.
Version 12 API wasn't able to provide all that information.

The new version 13 looks much more promising.

Using /api/v1/sessions we can get a lot more different type of sessions(https://helpcenter.veeam.com/references ... llSessions)
But this /api/v1/automation/sessions mentions more types like SqlLogBackup & OracleLogBackup.

What is the difference between these to calls ?
And is there a list of session types not beeing reported ?
Have nice day,
Henrik
oleg.feoktistov
Veeam Software
Posts: 2039
Liked: 684 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: automation/sessions & /sessions whats the difference

Post by oleg.feoktistov »

Hi Henrik,
What is the difference between these two calls ?
/api/v1/sessions endpoint emulates "History" tab from the desktop console UI and displays all the sessions processed on the backup server.
/api/v1/automation/sessions endpoint displays only the sessions of Automation type, which you can start by using import and export endpoints here.
But this /api/v1/automation/sessions mentions more types like SqlLogBackup & OracleLogBackup.
Both of the endpoints mention the same session types as they use the same enum for type filters.
But now that you mentioned it, for /api/v1/automation/sessions, I see that having a type filter doesn't make sense there as this endpoint displays only the sessions of Automation type.
And is there a list of session types not beeing reported ?
No, but in the typeFilter parameter here you can see the list of all session types we currently support in VBR REST API.

Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests