Community template and agent catalog with install and rate actions.
Routes live under /api/v1/community/ and require a JWT.
Summary
Functions
Get a community agent by ID (GET /community/agents/:agent_id).
Get a community template by ID (GET /community/templates/:template_id).
Install a community template into the caller's tenant
(POST /community/templates/:template_id/install).
List community agents (GET /community/agents).
List community templates (GET /community/templates).
Rate a community template 1-5 (POST /community/templates/:template_id/rate).
Functions
@spec get_agent(Miosa.Client.t(), String.t()) :: Miosa.Client.result(map())
Get a community agent by ID (GET /community/agents/:agent_id).
@spec get_template(Miosa.Client.t(), String.t()) :: Miosa.Client.result(map())
Get a community template by ID (GET /community/templates/:template_id).
@spec install_template(Miosa.Client.t(), String.t(), map()) :: Miosa.Client.result(map())
Install a community template into the caller's tenant
(POST /community/templates/:template_id/install).
@spec list_agents(Miosa.Client.t(), map()) :: Miosa.Client.result(list())
List community agents (GET /community/agents).
Accepts optional filter params.
@spec list_templates(Miosa.Client.t(), map()) :: Miosa.Client.result(list())
List community templates (GET /community/templates).
Accepts optional filter params.
@spec rate_template(Miosa.Client.t(), String.t(), 1..5, map()) :: Miosa.Client.result(map())
Rate a community template 1-5 (POST /community/templates/:template_id/rate).