30MHz Widget Update API
The widget-update API from 30MHz — 1 operation(s) for widget-update.
The widget-update API from 30MHz — 1 operation(s) for widget-update.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/30mhz-widget-update-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: '2.0'
title: ZENSIE Widget Update API
servers:
- url: https://api.30mhz.com/api
tags:
- name: widget-update
paths:
/widget-update/{widgetId}:
post:
tags:
- widget-update
summary: Updates the widget
description: Organization owners, editor or administrators of ZENSIE are authorised to call this operation.
operationId: updateWidget
parameters:
- name: widgetId
in: path
required: true
schema:
type: string
security:
- Bearer: []
responses:
'200':
description: Widget updated
content:
application/json:
schema:
$ref: '#/components/schemas/Widget'
application/zensie-v2+json:
schema:
$ref: '#/components/schemas/Widget'
'403':
description: User not allowed to perform the operation
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WidgetUpdate'
components:
schemas:
ImageThumbnail:
type: object
properties:
height:
type: integer
format: int32
path:
type: string
url:
type: string
width:
type: integer
format: int32
WidgetUpdate:
type: object
properties:
cultivationTargetId:
type: string
dataSourcePerCultivation:
type: object
description: Map of data sources selected per cultivation
additionalProperties:
type: array
items:
type: string
derivative:
type: boolean
description: Whether the data of this widget represents the rate of change.
app:
type: string
chartConfiguration:
$ref: '#/components/schemas/ChartConfiguration'
chartVerticalAxes:
type: array
items:
$ref: '#/components/schemas/ChartAxis'
collectionIdsPerField:
type: object
additionalProperties:
type: array
items:
type: string
cumulative:
type: boolean
data:
$ref: '#/components/schemas/Data'
fields:
type: object
additionalProperties:
type: array
items:
type: string
interval:
type: string
intervalFrom:
type: string
intervalSize:
type: string
intervalTo:
type: string
metricUnits:
type: object
additionalProperties:
type: string
partOfDay:
type: string
scope:
$ref: '#/components/schemas/Scope'
showSunEvents:
type: boolean
statisticType:
type: string
subtitle:
type: string
title:
type: string
description: Updating widget properties
Scope:
type: object
properties:
aggregated:
type: boolean
checkIds:
type: array
items:
type: string
notificationIds:
type: array
items:
type: string
sensorType:
type: string
tags:
type: array
items:
type: string
tagsOperator:
type: string
ImageDimensions:
type: object
properties:
height:
type: integer
format: int32
width:
type: integer
format: int32
CheckCollection:
type: object
properties:
collectionId:
type: string
description: Id of the collection
name:
type: string
description: Name of the collection
order:
type: integer
format: int32
description: The position within all the collections
AttachedDocument:
type: object
properties:
dataUploadId:
type: string
filename:
type: string
url:
type: string
CalculationSettings:
type: object
required:
- inputParams
properties:
calculationId:
type: string
description: Unique identifier for the calculation
inputParams:
type: object
description: A map of the necessary input parameters and their type for performing the calculation
additionalProperties:
type: object
description: Settings used to perform a calculation.
ChartAxis:
type: object
properties:
axisPosition:
type: string
description: The position of the axis (e.g. left side)
enum:
- LEFT
- RIGHT
- HIDDEN
maxRange:
type: number
format: double
description: Maximum value of the range
minRange:
type: number
format: double
description: Minimum value of the range
name:
type: string
description: Name of the axis
Data:
type: object
properties:
content:
type: string
position:
type: object
additionalProperties:
type: number
format: double
config:
type: object
additionalProperties:
type: object
dataUploadId:
type: string
imageDimensions:
$ref: '#/components/schemas/ImageDimensions'
ImageWithThumbnails:
type: object
properties:
dataUploadId:
type: string
imageDimensions:
$ref: '#/components/schemas/ImageDimensions'
thumbnails:
type: array
items:
$ref: '#/components/schemas/ImageThumbnail'
url:
type: string
Widget:
type: object
properties:
derivative:
type: boolean
description: Whether the data of this widget represents the rate of change.
appId:
type: string
chartConfiguration:
$ref: '#/components/schemas/ChartConfiguration'
chartVerticalAxes:
type: array
items:
$ref: '#/components/schemas/ChartAxis'
checks:
type: array
items:
$ref: '#/components/schemas/CheckSummary'
childWidgets:
type: array
items:
$ref: '#/components/schemas/Widget'
collectionIdsPerField:
type: object
additionalProperties:
type: array
items:
type: string
comments:
type: array
items:
$ref: '#/components/schemas/Comment'
cultivationId:
type: string
cultivationTargetId:
type: string
cumulative:
type: boolean
dashboardId:
type: string
data:
$ref: '#/components/schemas/Data'
dataSourcePerCultivation:
type: object
description: Map of data sources selected per cultivation
additionalProperties:
type: array
items:
type: string
fields:
type: object
additionalProperties:
type: array
items:
type: string
interval:
type: string
intervalFrom:
type: string
intervalSize:
type: string
intervalTo:
type: string
metricUnits:
type: object
additionalProperties:
type: string
order:
type: integer
format: int32
description: Position order in a dashboard, starts from 1
organizationId:
type: string
parentWidgetId:
type: string
partOfDay:
type: string
description: The part of the day the widget displays data for.
scope:
$ref: '#/components/schemas/Scope'
showSunEvents:
type: boolean
siteId:
type: string
statisticType:
type: string
subtitle:
type: string
title:
type: string
widgetId:
type: string
widgetType:
type: string
imageDimensions:
$ref: '#/components/schemas/ImageDimensions'
description: A dashboard widget
CommentAttachments:
type: object
properties:
documents:
type: array
uniqueItems: true
items:
$ref: '#/components/schemas/AttachedDocument'
images:
type: array
uniqueItems: true
items:
$ref: '#/components/schemas/ImageWithThumbnails'
CommentTags:
type: object
properties:
fields:
type: object
description: Check fields
additionalProperties:
type: array
uniqueItems: true
items:
type: string
checkIds:
type: array
description: Check ids to which comment belongs to
uniqueItems: true
items:
type: string
checkTimestamp:
type: integer
format: int64
description: Timestamp of the check
collectionId:
type: string
description: Collection id within a check
dateEntryId:
type: string
description: Date entry id of a check
emails:
type: array
description: Users mentioned in the comments
uniqueItems: true
items:
type: string
selectedCheckId:
type: string
description: Selected check for this comment
selectedField:
type: string
description: Selected field id for this comment
Comment:
type: object
properties:
activityType:
type: string
appInstallationId:
type: string
email:
type: string
groupId:
type: string
lastUpdatedTimestamp:
type: string
organizationId:
type: string
timestamp:
type: string
attachments:
description: Comment Attachments
$ref: '#/components/schemas/CommentAttachments'
commentId:
type: string
description: Unique id of the comment.
parentCommentId:
type: string
description: Parent comment id if reply
replies:
type: array
description: Replies of a comment
items:
$ref: '#/components/schemas/Comment'
tags:
description: Tags of a comment
$ref: '#/components/schemas/CommentTags'
text:
type: string
description: Comment text
ChartConfiguration:
type: object
properties:
chartType:
type: string
description: Type of chart visualisation (line or bar).
enum:
- LINE
- BAR
colorPerSensorField:
type: object
description: Color per data series of this widget
additionalProperties:
type: string
colorScheme:
type: string
description: Color scheme of the chart.
enum:
- PER_METRIC
- CUSTOM
- DISTINCT
isStacked:
type: boolean
description: Whether the chart's graph elements (lines or bars) are shown one on top of the other.
showWeekNumbers:
type: boolean
description: Whether to show week numbers in the chart
CheckSummary:
type: object
properties:
calculationSettings:
$ref: '#/components/schemas/CalculationSettings'
checkId:
type: string
collections:
type: array
items:
$ref: '#/components/schemas/CheckCollection'
cultivationHierarchyId:
type: string
decimalsPerField:
type: object
additionalProperties:
type: integer
format: int32
enabled:
type: boolean
locations:
type: array
uniqueItems: true
items:
type: string
maxDecimals:
type: integer
format: int32
name:
type: string
organizationId:
type: string
rangePerJsonKey:
type: object
additionalProperties:
type: array
items:
type: number
format: double
sensorType:
type: string
timezone:
type: string
timezoneOffset:
type: integer
format: int64
units:
type: array
uniqueItems: true
items:
type: string
description: Summary of a check
securitySchemes:
Bearer:
description: ''
type: apiKey
name: Authorization
in: header