Pular para o conteúdo

Use these operations to audit your accounts.

OperationMethodDescription
Get auditsGETGets an audit trail of user actions and configuration changes (to accounts, fees, and rates) on a RippleNet instance.
Get event trail for paymentGETGets an audit trail of a payment's state changes on a local RippleNet instance.

Requisição

Gets an audit trail of user actions and configuration changes (to accounts, fees, and rates) on a RippleNet instance.

Segurança
Bearer
Consulta
pageinteger

The page number for paginated results. The value is zero-based, where 0 represents the first page.
Set it to 0 to get the first page of results.

Padrão:0
sizeinteger, [ 1 .. 100 ]

Number of payments to return per page.

Padrão:10
beforestring

Filters for audit events where the range_field value is before this specified time stamp (not inclusive). You can also specify after to create a time range between after and before. If before is specified, range_field must also be specified.

afterstring

Filters for audit events where the range_field value is after this specified time stamp (not inclusive). You can also specify before to create a time range between after and before. If after is specified, range_field must also be specified.

range_fieldstring

Filters payments before/after/between created and modified timestamps (CREATED_AT, MODIFIED_AT). For example, if you specify range_field=CREATED_AT, you would specify a timestamp (in the 24-character ISO 8601 YYYY-MM-DDTHH:mm:ss.sssZ format used in payment objects) as the value for before and/or after to fetch audit events before, after, or between the specified time range(s) (not inclusive). If range_field is specified, before and/or after must also be specified.

actorstring

Filters for audit events based upon actor.

actionstring

Filters for audit events based upon action.

levelstring

Filters for audit events based upon audit level.

Enum:"INFO""WARN""ERROR"
domainstring

Filters for audit events based upon audit domain.

Enum:"USER_MANAGEMENT""CONFIG_MANAGEMENT""OTHER"
curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/audit?page=0&size=10&before=string&after=string&range_field=string&actor=string&action=string&level=INFO&domain=USER_MANAGEMENT' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Successful response

Corpoapplication/json
firstboolean

true if this is the first page.

lastboolean

true if this is the last page.

numberinteger

page number

numberOfElementsinteger

Number Of elements in this request

sizeinteger

page size

totalElementsinteger, (int64)

Total number of elements for the given request

totalPagesinteger

Total number of pages for the given request

sortArray of objects

Sort details of this page

contentArray of objects
Resposta
{ "first": true, "last": true, "number": 0, "numberOfElements": 0, "size": 0, "totalElements": 0, "totalPages": 0, "sort": [ { … } ], "content": [ { … } ] }