Cells
/api/v2/dashboards/{dashboardID}/cellsCreate a dashboard cell
Parameters
Path parameters
dashboardID
required
stringHeader parameters
Zap-Trace-Span
stringRequest body required
application/jsonh
integer <int32>name
stringusingView
stringw
integer <int32>x
integer <int32>y
integer <int32>curl --request POST \
"http://localhost:8086/api/v2/dashboards/{dashboardID}/cells" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"h": 0,
"name": "NAME",
"usingView": "USINGVIEW",
"w": 0,
"x": 0,
"y": 0
}'Responses
h
integer <int32>id
stringlinks
objectself
stringview
stringviewID
stringw
integer <int32>x
integer <int32>y
integer <int32>code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/dashboards/{dashboardID}/cellsReplace cells in a dashboard
Parameters
Path parameters
dashboardID
required
stringHeader parameters
Zap-Trace-Span
stringRequest body required
application/jsoncurl --request PUT \
"http://localhost:8086/api/v2/dashboards/{dashboardID}/cells" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json"Responses
code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/dashboards/{dashboardID}/cells/{cellID}Update the non-positional information related to a cell
Parameters
Path parameters
dashboardID
required
stringcellID
required
stringHeader parameters
Zap-Trace-Span
stringRequest body required
application/jsonh
integer <int32>w
integer <int32>x
integer <int32>y
integer <int32>curl --request PATCH \
"http://localhost:8086/api/v2/dashboards/{dashboardID}/cells/{cellID}" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"h": 0,
"w": 0,
"x": 0,
"y": 0
}'Responses
h
integer <int32>id
stringlinks
objectself
stringview
stringviewID
stringw
integer <int32>x
integer <int32>y
integer <int32>code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/dashboards/{dashboardID}/cells/{cellID}Delete a dashboard cell
Parameters
Path parameters
dashboardID
required
stringcellID
required
stringHeader parameters
Zap-Trace-Span
stringcurl --request DELETE \
"http://localhost:8086/api/v2/dashboards/{dashboardID}/cells/{cellID}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/dashboards/{dashboardID}/cells/{cellID}/viewRetrieve the view for a cell
Parameters
Path parameters
dashboardID
required
stringcellID
required
stringHeader parameters
Zap-Trace-Span
stringcurl --request GET \
"http://localhost:8086/api/v2/dashboards/{dashboardID}/cells/{cellID}/view" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
id
stringlinks
objectself
stringname
required
stringproperties
required
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/dashboards/{dashboardID}/cells/{cellID}/viewUpdate the view for a cell
Parameters
Path parameters
dashboardID
required
stringcellID
required
stringHeader parameters
Zap-Trace-Span
stringRequest body required
application/jsonid
stringlinks
objectself
stringname
required
stringproperties
required
stringcurl --request PATCH \
"http://localhost:8086/api/v2/dashboards/{dashboardID}/cells/{cellID}/view" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"id": "ID",
"links": {},
"name": "NAME",
"properties": "PROPERTIES"
}'Responses
id
stringlinks
objectself
stringname
required
stringproperties
required
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringWas this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.