Hello,
I'm trying to filter all snapshots older than X days, like in the CLI command: "volume snapshot show -create-time >1d", but it doesn't seems to work:
requests.get('https://cluster1.demo.netapp.com/api/private/cli/snapshot?fields=create-time?create_time>1d',headers=header,verify=False).json().get("records")
doesn't return any output, and also this one doesn't work:
response = CLI().execute("volume snapshot show", create-time>1d)
File "<stdin>", line 1
response = CLI().execute("volume snapshot show", create-time>1d)
^
SyntaxError: invalid decimal literalIs there any way to achieve this?
Thanks