Package dev.dosya.sdk.resource
Class ActivityResource
java.lang.Object
dev.dosya.sdk.resource.ActivityResource
Provides operations for retrieving activity logs from Dosya workspaces.
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionActivityResource(@NotNull DosyaHttpClient http) Creates a newActivityResourcebacked by the given HTTP client. -
Method Summary
Modifier and TypeMethodDescription@NotNull ActivityListResponselist(@NotNull ListActivityParams params) Lists activity entries for a workspace, with optional filtering by category, action, or user.
-
Constructor Details
-
ActivityResource
Creates a newActivityResourcebacked by the given HTTP client.- Parameters:
http- the HTTP client used to make API requests
-
-
Method Details
-
list
Lists activity entries for a workspace, with optional filtering by category, action, or user.- Parameters:
params- the activity listing parameters including workspace ID, pagination, and filters- Returns:
- the response containing activity entries, members, and pagination info
- Throws:
DosyaApiException- if the API returns an error
-