Package app.ductape.sdk.api.services
Class LogApiService
java.lang.Object
app.ductape.sdk.api.services.LogApiService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetch(Map<String, Object> params, RequestContext auth) TSDuctape.logs.fetch(params): validatescomponent/page/limitand injects theproduct_id/app_idstashed byinit(java.lang.String, java.lang.String, app.ductape.sdk.products.services.ProductsService, app.ductape.sdk.api.services.AppApiService, app.ductape.sdk.core.RequestContext)before delegating tofetchLogs(Map, RequestContext).fetchDatabaseDashboard(Map<String, Object> params, RequestContext auth) fetchLogs(Map<String, Object> params, RequestContext auth) http()voidinit(String productTag, ProductsService products) TSDuctape.logs.init(product)convenience overload (product only, no app).voidinit(String productTag, String appTag, ProductsService products, AppApiService apps, RequestContext auth) TSDuctape.logs.init(product?, app?): resolves the product/app tag to its id and stashes both for use byfetch(Map, RequestContext).void
-
Constructor Details
-
LogApiService
-
-
Method Details
-
http
-
init
public void init(String productTag, String appTag, ProductsService products, AppApiService apps, RequestContext auth) TSDuctape.logs.init(product?, app?): resolves the product/app tag to its id and stashes both for use byfetch(Map, RequestContext). At least one ofproductTag/appTagmust be non-blank, matching TS's validation. -
init
TSDuctape.logs.init(product)convenience overload (product only, no app). -
fetch
TSDuctape.logs.fetch(params): validatescomponent/page/limitand injects theproduct_id/app_idstashed byinit(java.lang.String, java.lang.String, app.ductape.sdk.products.services.ProductsService, app.ductape.sdk.api.services.AppApiService, app.ductape.sdk.core.RequestContext)before delegating tofetchLogs(Map, RequestContext). Requiresinit(java.lang.String, java.lang.String, app.ductape.sdk.products.services.ProductsService, app.ductape.sdk.api.services.AppApiService, app.ductape.sdk.core.RequestContext)to have been called first. -
logData
-
fetchLogs
-
fetchDatabaseDashboard
-