Package com.influxdb.client.service
Interface ViewsService
public interface ViewsService
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call
<View> getDashboardsIDCellsIDView
(String dashboardID, String cellID, String zapTraceSpan) Retrieve the view for a cellretrofit2.Call
<View> patchDashboardsIDCellsIDView
(String dashboardID, String cellID, View view, String zapTraceSpan) Update the view for a cell
-
Method Details
-
getDashboardsIDCellsIDView
@GET("api/v2/dashboards/{dashboardID}/cells/{cellID}/view") retrofit2.Call<View> getDashboardsIDCellsIDView(@Path("dashboardID") String dashboardID, @Path("cellID") String cellID, @Header("Zap-Trace-Span") String zapTraceSpan) Retrieve the view for a cell- Parameters:
dashboardID
- The dashboard ID. (required)cellID
- The cell ID. (required)zapTraceSpan
- OpenTracing span context (optional)- Returns:
- Call<View>
-
patchDashboardsIDCellsIDView
@Headers("Content-Type:application/json") @PATCH("api/v2/dashboards/{dashboardID}/cells/{cellID}/view") retrofit2.Call<View> patchDashboardsIDCellsIDView(@Path("dashboardID") String dashboardID, @Path("cellID") String cellID, @Body View view, @Header("Zap-Trace-Span") String zapTraceSpan) Update the view for a cell- Parameters:
dashboardID
- The ID of the dashboard to update. (required)cellID
- The ID of the cell to update. (required)view
- (required)zapTraceSpan
- OpenTracing span context (optional)- Returns:
- Call<View>
-