30MHz Metric Update API

The metric-update API from 30MHz — 1 operation(s) for metric-update.

Operations 1

POST /metric-update/{metricId} Update a metric #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/30mhz-metric-update-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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 Specification

30mhz-metric-update-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2.0'
  title: ZENSIE Metric Update API
servers:
- url: https://api.30mhz.com/api
tags:
- name: metric-update
paths:
  /metric-update/{metricId}:
    post:
      tags:
      - metric-update
      summary: Update a metric
      description: Authentication required for this operation.
      operationId: updateMetric
      parameters:
      - name: metricId
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '200':
          description: Metric updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Metric'
            application/zensie-v2+json:
              schema:
                $ref: '#/components/schemas/Metric'
        '400':
          description: Invalid data in the properties to be updated
        '403':
          description: Not enough permissions to perform the operation
        '404':
          description: A metric with that id doesn't exist
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricUpdate'
components:
  schemas:
    MetricUpdate:
      type: object
      properties:
        conversionUnits:
          type: array
          items:
            $ref: '#/components/schemas/ConversionUnit'
        defaultStatisticTypes:
          type: array
          items:
            type: string
        name:
          type: string
        statisticTypes:
          type: array
          items:
            type: array
            items:
              type: string
        unit:
          type: string
        unitLabel:
          type: string
      description: Updating metric properties
    ConversionFormula:
      type: object
      properties:
        type:
          type: string
        value:
          type: number
          format: double
    ConversionUnit:
      type: object
      properties:
        conversionFormulas:
          type: array
          items:
            $ref: '#/components/schemas/ConversionFormula'
        decimals:
          type: integer
          format: int32
          minimum: 0
        unit:
          type: string
        unitId:
          type: string
        unitLabel:
          type: string
    Metric:
      type: object
      properties:
        conversionUnits:
          type: array
          items:
            $ref: '#/components/schemas/ConversionUnit'
        defaultStatisticTypes:
          type: array
          items:
            type: string
        metricId:
          type: string
        name:
          type: string
        statisticTypes:
          type: array
          items:
            type: array
            items:
              type: string
        unit:
          type: string
        unitLabel:
          type: string
      description: Metrics of sensor types
  securitySchemes:
    Bearer:
      description: ''
      type: apiKey
      name: Authorization
      in: header