Building HTTP/AJAX endpoints in REDAXO using rex_api_function – the lib/ class location, naming convention, $published flag for frontend access, JSON responses, CORS for cross-domain widgets, and the rex-api-call URL. Use when the user adds an AJAX/HTTP endpoint to a custom addon, builds a JSON API for a frontend widget, or asks how to expose data via /index.php?rex-api-call=. Distinct from the FriendsOfRedaxo/api addon (covered by the redaxo-api-addon plugin).
$npx -y skills add friendsofredaxo/claude-marketplace --skill redaxo-api-functionsInstalls into the current project.
Run `npx skills use "https://github.com/friendsofredaxo/claude-marketplace" --skill "friendsofredaxo/claude-marketplace/redaxo-api-functions"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/friendsofredaxo/claude-marketplace" that are relevant to the current task. Run `npx skills add "https://github.com/friendsofredaxo/claude-marketplace"` and select the relevant skills, then follow their instructions.