Skip to content

Commit 1d698ef

Browse files
authored
Merge pull request #41 from Frameio/jh/audit-logs
Add get_audit_logs()
2 parents 8a7a018 + e1e673c commit 1d698ef

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

frameioclient/client.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,3 +434,18 @@ def get_review_link_items(self, link_id):
434434
"""
435435
endpoint = '/review_links/{}/items'.format(link_id)
436436
return self._api_call('get', endpoint)
437+
438+
def get_audit_logs(self, account_id):
439+
"""
440+
Get audit logs for the currently authenticated account.
441+
442+
:Args:
443+
444+
Example::
445+
446+
client.get_audit_logs(
447+
account_id="6bdcb4d9-9a2e-a765-4548-ae6b27a6c024"
448+
)
449+
"""
450+
endpoint = '/accounts/{}/audit_logs'.format(account_id)
451+
return self._api_call('get', endpoint)

0 commit comments

Comments
 (0)