coldbox-rest-api-development

Official

Build robust ColdBox REST APIs fast.

AuthorColdBox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill removes the guesswork and repetitive setup when building RESTful APIs in ColdBox by providing clear patterns for routing, handlers, authentication, versioning, and consistent response formatting so teams can ship stable APIs faster.

Core Features & Use Cases

  • RestHandler patterns & rendering: use RestHandler and event.renderData to produce consistent JSON responses and proper HTTP status codes.
  • Authentication & token lifecycle: implement JWT/bearer authentication, login/refresh/logout flows, and secure endpoints with cbSecurity.
  • Versioning, routing & pagination: organize APIs into modules for version isolation, define resource routes, and return paginated memento-style payloads with meta and links.
  • Use Case: implement a versioned users/posts API with JWT-secured endpoints, create/update/delete actions, validation errors as 422 responses, and paginated index endpoints.

Quick Start

Create a RestHandler users API in a module with /api/v1 routing, JWT login/refresh endpoints, and use event.renderData for all JSON success and error responses.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: coldbox-rest-api-development
Download link: https://github.com/ColdBox/skills/archive/main.zip#coldbox-rest-api-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.