Apache OpenWhisk Rules API
The Rules API from Apache OpenWhisk — 2 operation(s) for rules.
The Rules API from Apache OpenWhisk — 2 operation(s) for rules.
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/apache-openwhisk-rules-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:
title: Apache OpenWhisk REST Actions Rules API
description: Apache OpenWhisk is an open-source serverless cloud platform. The REST API provides endpoints for managing actions, triggers, rules, packages, and activations for serverless function development.
version: 1.0.0
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0
contact:
url: https://openwhisk.apache.org/
servers:
- url: https://{host}/api/v1
description: Apache OpenWhisk API server
variables:
host:
default: localhost:443
security:
- basicAuth: []
tags:
- name: Rules
paths:
/namespaces/{namespace}/rules:
get:
operationId: listRules
summary: Apache OpenWhisk List Rules
description: List all rules in the namespace.
tags:
- Rules
parameters:
- $ref: '#/components/parameters/namespace'
responses:
'200':
description: List of rules
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Rule'
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/namespaces/{namespace}/rules/{ruleName}:
get:
operationId: getRule
summary: Apache OpenWhisk Get Rule
description: Get a rule by name.
tags:
- Rules
parameters:
- $ref: '#/components/parameters/namespace'
- $ref: '#/components/parameters/ruleName'
responses:
'200':
description: Rule details
content:
application/json:
schema:
$ref: '#/components/schemas/Rule'
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
put:
operationId: createOrUpdateRule
summary: Apache OpenWhisk Create or Update Rule
description: Create or update a rule linking a trigger to an action.
tags:
- Rules
parameters:
- $ref: '#/components/parameters/namespace'
- $ref: '#/components/parameters/ruleName'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RuleRequest'
responses:
'200':
description: Rule created or updated
content:
application/json:
schema:
$ref: '#/components/schemas/Rule'
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
post:
operationId: updateRuleStatus
summary: Apache OpenWhisk Update Rule Status
description: Enable or disable a rule.
tags:
- Rules
parameters:
- $ref: '#/components/parameters/namespace'
- $ref: '#/components/parameters/ruleName'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
status:
type: string
enum:
- active
- inactive
responses:
'200':
description: Rule status updated
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
delete:
operationId: deleteRule
summary: Apache OpenWhisk Delete Rule
description: Delete a rule.
tags:
- Rules
parameters:
- $ref: '#/components/parameters/namespace'
- $ref: '#/components/parameters/ruleName'
responses:
'200':
description: Rule deleted
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
components:
schemas:
Rule:
type: object
properties:
namespace:
type: string
example: guest
name:
type: string
example: myRule
version:
type: string
example: 0.0.1
status:
type: string
enum:
- active
- inactive
example: active
trigger:
type: string
description: Fully qualified trigger name
example: /guest/myTrigger
action:
type: string
description: Fully qualified action name
example: /guest/hello
updated:
type: integer
example: 1718153645993
RuleRequest:
type: object
required:
- trigger
- action
properties:
trigger:
type: string
description: Trigger name to associate
example: /guest/myTrigger
action:
type: string
description: Action name to invoke
example: /guest/hello
parameters:
namespace:
name: namespace
in: path
required: true
description: OpenWhisk namespace
schema:
type: string
example: guest
ruleName:
name: ruleName
in: path
required: true
description: Rule name
schema:
type: string
example: myRule
securitySchemes:
basicAuth:
type: http
scheme: basic
description: HTTP Basic authentication using OpenWhisk credentials
x-generated-from: documentation