Class: PEClient::Resource::ActivityV1
- Inherits:
-
BaseWithPort
- Object
- BaseWithPort
- PEClient::Resource::ActivityV1
- Defined in:
- lib/pe_client/resources/activity.v1.rb
Overview
The activity service records changes to role-based access control (RBAC) entities, such as users, directory groups, and user roles. Use the activity service API to query event data.
Constant Summary collapse
- BASE_PATH =
The base path for Activity API v1 endpoints.
"/activity-api/v1"- PORT =
Default Activity API Port
4433
Instance Method Summary collapse
-
#events(service_id:, subject_type: nil, subject_id: nil, object_type: nil, object_id: nil, offset: nil, order: nil, limit: nil, after_service_commit_time: nil) ⇒ Hash
Fetch information about events the activity service tracks.
Methods inherited from BaseWithPort
Constructor Details
This class inherits a constructor from PEClient::Resource::BaseWithPort
Instance Method Details
#events(service_id:, subject_type: nil, subject_id: nil, object_type: nil, object_id: nil, offset: nil, order: nil, limit: nil, after_service_commit_time: nil) ⇒ Hash
Fetch information about events the activity service tracks.
55 56 57 |
# File 'lib/pe_client/resources/activity.v1.rb', line 55 def events(service_id:, subject_type: nil, subject_id: nil, object_type: nil, object_id: nil, offset: nil, order: nil, limit: nil, after_service_commit_time: nil) @client.get "#{BASE_PATH}/events", params: {service_id:, subject_type:, subject_id:, object_type:, object_id:, offset:, order:, limit:, after_service_commit_time:}.compact end |