aYOUne

ay services

ay services (Alias: svc)

Discovery für aYOUne-Plattform-Services, APIs, Gateways und ihre Endpoints.

Subcommands

ay services list

Listet alle registrierten Services (APIs + externe Services).

ay services list
ay services list --type api
ay services list --module crm

ay services endpoints <host> (Alias: ep)

Endpoints eines konkreten Hosts — gepullt aus ayouneapiactions.

ay services endpoints crm-api.ayoune.app
ay services endpoints ai.ayoune.app -r table
ay services endpoints config-api.ayoune.app -i operationId,method,endpoint

ay services health [host]

Health-Check eines Services oder aller Services parallel. Native Fetch + AbortController-Timeout (default 5000ms).

# Alle
ay services health

# Konkret
ay services health auth.ayoune.app

# Mit Timeout
ay services health --timeout 2000

Status-Werte: healthy (HTTP < 500), unhealthy (≥ 500), unreachable (Network-Fail oder Timeout).

ay services describe <module> (Alias: desc)

Komprimiertes Modul-Profile mit APIs, Services, Endpoint-Anzahl je Method, Capabilities.

ay services describe crm
# {
#   module: "crm",
#   apis: [{ label: "CRM", host: "crm-api.ayoune.app" }],
#   endpoints: { total: 42, byMethod: { GET: 28, POST: 8, PUT: 6 } },
#   capabilities: ["consumers", "contacts", "leads", ...]
# }

Siehe auch

  • actions — Action-Discovery
  • status — Aggregierter Health-Check