Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COR-29935: Added management audit logs api #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions open_api_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5417,6 +5417,41 @@ paths:
default:
$ref: "#/components/responses/Error"

"/management/audit_logs":
get:
summary: Get paginated audit logs
tags:
- Audit Logs
x-readme:
code-samples:
- language: python
code: audits = fireblocks.get_paginated_audit_logs(TimePeriod.DAY)
name: Fireblocks SDK Python example
- language: javascript
code: const audits = await fireblocks.getPaginatedAuditLogs(TimePeriod.DAY);
name: Fireblocks SDK Javascript example
parameters:
- in: query
name: timePeriod
required: false
description: The last time period to fetch audit logs
schema:
type: string
enum:
- DAY
- WEEK
- in: query
name: cursor
required: false
description: The next id to start fetch audit logs from
schema:
type: string
responses:
"200":
description: Audit logs from requested time period
headers: *req-id-header
default:
$ref: "#/components/responses/Error"
# OFF EXCHANGE V2(collateral)
"/off_exchange/add":
post:
Expand Down