When I use api: show-object
- Input:
"uid": <publish task uid>. example: 673c6c16-1a69-4d46-84de-be6e0259f7ce
"details-level": "full"
- Reponse:
{'uid': '673c6c16-1a69-4d46-84de-be6e0259f7ce', 'name': 'admin@8/1/2021 11:09', 'type': 'session', 'domain': {'uid': '41e821a0-3720-11e3-aa6e-0800200c9fde', 'name': 'SMC User', 'domain-type': 'domain'}, 'state': 'published', 'user-name': 'admin', 'description': '1 change published by admin on 8/1/2021', 'last-login-time': {'posix': 1627641068995, 'iso-8601': '2021-07-30T17:31+0700'}, 'publish-time': {'posix': 1627790909012, 'iso-8601': '2021-08-01T11:08+0700'}, 'expired-session': False, 'application': 'SmartConsole', 'changes': 1, 'in-work': False, 'ip-address': '192.168.26.220', 'locks': 1, 'connection-mode': 'read write', 'session-timeout': 600, 'comments': '', 'color': 'black', 'icon': 'Objects/worksession', 'tags': [], 'meta-info': {'lock': 'unlocked', 'validation-state': 'ok', 'last-modify-time': {'posix': 1627790909016, 'iso-8601': '2021-08-01T11:08+0700'}, 'last-modifier': 'admin', 'creation-time': {'posix': 1627790882137, 'iso-8601': '2021-08-01T11:08+0700'}, 'creator': 'admin'}, 'read-only': False}
But:
When I use api: show-objects
I tried use type = "task", then the response is
{"code" : "generic_err_invalid_api_type", "message" : "Requested API type: [task] not found"}
I have questions:
- What is object type list when use "show objects" api?
- How to show list Pushlish Task by "show objects" api
Reference: https://community.checkpoint.com/t5/Management/R80-Management-API-tips-and-tricks-quot-show-objects-...
Thanks.