Properties
| Name | Type | Description |
|---|---|---|
| config | object | The function config to apply. |
| code | string | New inline source. Omit to change settings only. |
| filename | string | Source filename (defaults to the current entrypoint). |
| note | string | Optional revision note. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/ownkube-io/json-schema/ownkube-io-deploy-function-body-schema.json",
"title": "DeployFunctionBody",
"x-generated": "2026-11-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/ownkube-io-openapi.json#/components/schemas/DeployFunctionBody",
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"runtime": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"handler": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"architecture": {
"type": "string",
"enum": [
"x86_64",
"arm64"
],
"default": "arm64"
},
"memoryMb": {
"type": "integer",
"minimum": 128,
"maximum": 10240,
"default": 256
},
"timeoutSeconds": {
"type": "integer",
"minimum": 1,
"maximum": 900,
"default": 30
},
"logRetentionDays": {
"type": "integer",
"minimum": 1,
"maximum": 3653,
"default": 14
},
"env": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"secret": {
"type": "boolean"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
}
},
"triggers": {
"type": "object",
"properties": {
"cron": {
"type": "object",
"properties": {
"input": {
"type": "string"
},
"schedule": {
"type": "string",
"minLength": 1
},
"timezone": {
"type": "string"
}
},
"required": [
"schedule"
]
},
"http": {
"type": "object",
"properties": {
"authType": {
"type": "string",
"enum": [
"none",
"iam"
],
"default": "none"
},
"cors": {
"type": "object",
"properties": {
"allowHeaders": {
"type": "array",
"items": {
"type": "string"
}
},
"allowMethods": {
"type": "array",
"items": {
"type": "string"
}
},
"allowOrigins": {
"type": "array",
"items": {
"type": "string"
}
},
"maxAge": {
"type": "integer",
"minimum": 0,
"maximum": 86400
}
}
}
}
}
}
},
"substrate": {
"type": "string",
"enum": [
"lambda",
"ember"
]
}
},
"required": [
"runtime",
"handler",
"triggers"
],
"description": "The function config to apply."
},
"code": {
"type": "string",
"minLength": 1,
"maxLength": 256000,
"description": "New inline source. Omit to change settings only."
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Source filename (defaults to the current entrypoint)."
},
"note": {
"type": "string",
"maxLength": 200,
"description": "Optional revision note."
}
},
"required": [
"config"
]
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ownkube-io-deploy-function-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.