ay actions (Alias: act)
Listet alle registrierten API-Actions der Plattform — Discovery-Tool für ay exec. Querit apiactions (mit config → su Fallback).
Syntax
ay actions [search] [flags]
Flags
| Flag | Zweck |
|---|---|
--namespace <ns> |
Filter: nur Actions eines Namespaces (z.B. ai, crm) |
--host <host> |
Filter: nur Actions auf einem bestimmten Host |
--method <m> |
Filter: GET / POST / PUT / DELETE |
--capability <cap> |
Filter: nach Capability (z.B. consumers) |
--list-namespaces |
Listet alle Namespaces |
--list-hosts |
Listet alle Hosts |
-p, --page <n> |
Seite (Default 1) |
-l, --limit <n> |
Page-Size (Default 100) |
Beispiele
# Komplette Liste
ay actions
# Search-Mode
ay actions generate
ay actions sendMail
# Namespace-Filter
ay actions --namespace ai
ay actions --namespace crm
# POST-Actions auf einem Host
ay actions --host crm-api.ayoune.app --method POST
# Übersicht der Namespaces
ay actions --list-namespaces
# Tabellen-Ausgabe für AI-Pipelines
ay actions -r table --columns "operationId,method,endpoint,host"
Action-Schema
Jede Action enthält:
operationId: sendWelcomeMail
method: POST
endpoint: /consumers/:id/actions/send-welcome-mail
host: crm-api.ayoune.app
nameSpace: crm
capability: consumers
params: [{ name: id, in: path, required: true }]
description: Sends a welcome email to the consumer