30MHz Mother Template API
The mother-template API from 30MHz — 2 operation(s) for mother-template.
The mother-template API from 30MHz — 2 operation(s) for mother-template.
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-mother-template-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 Mother Template API
servers:
- url: https://api.30mhz.com/api
tags:
- name: mother-template
paths:
/mother-template:
get:
tags:
- mother-template
summary: Returns all the mother templates
description: Authentication required for this operation.
operationId: getAllMotherTemplates
security:
- Bearer: []
responses:
'200':
description: Mother templates returned.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/MotherTemplate'
application/zensie-v2+json:
schema:
type: array
items:
$ref: '#/components/schemas/MotherTemplate'
'403':
description: Not enough permissions to perform the operation. User must be admin.
post:
tags:
- mother-template
summary: Add a new mother template
description: Authentication required for this operation.
operationId: addMotherTemplate
security:
- Bearer: []
responses:
'200':
description: Mother template added
content:
application/json:
schema:
$ref: '#/components/schemas/MotherTemplate'
application/zensie-v2+json:
schema:
$ref: '#/components/schemas/MotherTemplate'
'403':
description: Not enough permissions to perform the operation
'404':
description: User does not exist
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/NewMotherTemplate'
application/xml:
schema:
$ref: '#/components/schemas/NewMotherTemplate'
/mother-template/{templateId}:
get:
tags:
- mother-template
summary: Returns the mother template with the specified id
description: Authentication required for this operation.
operationId: getMotherTemplateById
parameters:
- name: templateId
in: path
required: true
schema:
type: string
security:
- Bearer: []
responses:
'200':
description: The mother template with the given id.
content:
application/json:
schema:
$ref: '#/components/schemas/MotherTemplate'
application/zensie-v2+json:
schema:
$ref: '#/components/schemas/MotherTemplate'
'403':
description: Not enough permissions to perform the operation
delete:
tags:
- mother-template
summary: Remove mother template
description: Operation reserved to administrators.
operationId: removeMotherTemplate
parameters:
- name: templateId
in: path
required: true
schema:
type: string
security:
- Bearer: []
responses:
'200':
description: Mother template has been removed.
content:
application/json:
schema:
$ref: '#/components/schemas/Mother'
application/zensie-v2+json:
schema:
$ref: '#/components/schemas/Mother'
'400':
description: The mother template is associated to one or multiple mothers and cannot be removed
'403':
description: Not enough permissions to perform the operation
components:
schemas:
NewMotherTemplate:
type: object
properties:
configurationJson:
type: string
description:
type: string
name:
type: string
Mother:
type: object
properties:
alarmsChecks:
type: array
description: The alarms checks ids of the mother.
uniqueItems: true
items:
type: string
createdAt:
type: string
description: The date and time a mother was created.
deletedAt:
type: string
description: The date and time a mother was deleted.
deployedAt:
type: string
description: The date and time a mother was deployed.
gatewayInfoCheckId:
type: string
description: Id of the gateway info check.
isBillable:
type: boolean
description: States if the mother is billable or not.
jsonEnvironmentVariable:
type: string
jsonEnvironmentVariableOnDevice:
type: boolean
description: Indicates if the json environment variable was successfully set on the actual device via the resin api call when creating a gateway
locationName:
type: string
description: The mother's location.
macAddress:
type: string
description: The mac address of the mother.
motherId:
type: string
description: Mother id.
name:
type: string
description: Mother's name.
organizationId:
type: string
description: The organization of the mother.
remarks:
type: string
description: The remarks for the mother.
sqsAccessKey:
type: string
description: The mother probe sqs access key.
sqsSecretKey:
type: string
description: The mother probe sqs secret key.
state:
type: string
description: The state of the mother.
templateId:
type: string
description: Mother's template id.
updatedAt:
type: string
description: The date and time a mother was last updated.
xbeeAddress:
type: string
description: The address of the xbee.
description: Mother
MotherTemplate:
type: object
properties:
configurationJson:
type: string
description: JSON configuration variable for the mother template.
createdAt:
type: string
description: The date and time a mother template was created.
description:
type: string
description: The description for the mother template.
name:
type: string
description: The name for the mother template.
templateId:
type: string
description: Template id for the mother template.
updatedAt:
type: string
description: The date and time a mother template was last updated.
description: MotherTemplate
securitySchemes:
Bearer:
description: ''
type: apiKey
name: Authorization
in: header