Start a Conversation

Unsolved

This post is more than 5 years old

D

3096

May 23rd, 2017 19:00

Networker API

Hello, I've been looking through the networker API documentation and there seems to be missing examples and documentation about quering items in the API. The getting started guide has one example on page 19 but does not go into detail what the syntax of the q param is.

GET /nwrestapi/v1/global/clients?fl=aliases,hostname&q=hostname:saturn

Is there any additional documentation on this? I'd like to query based off a date range but i dont see any documentation to support this.

2 Intern

 • 

14.3K Posts

May 29th, 2017 06:00

Which doc did you check?  There are EMC NetWorker REST API Reference Guide and EMC NetWorker REST API Getting Started Guide.

3 Posts

May 29th, 2017 13:00

Both, neither have examples of the query. If you search either guide for q=, it only has one example. I'm looking for a way to query the system for all backup jobs that happen between 2 timestamps.

2 Intern

 • 

14.3K Posts

June 20th, 2017 08:00

Top of the head, you would need to get /backup and filter it from there.  You have two models, one for when it was created and one for when it completed.  I believe there was a query with clients in one of those... not sure if you can pull it out the same with /backup based on these two models (or one of them actually), but give it a try.

No Events found!

Top