api-response-standardization - Standardize API Response Format
Standardizes API success and error responses in unified JSON format with success, data/error and timestamp fields.
Tags
Updated: 2026-05-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- standardize success responses
- standardize error responses
- create API envelope
- create global filter
- handle exceptions
- wrap HTTP responses
- return error responses
- log exceptions
- map exceptions
- configure JSON settings
Inputs
- HTTP endpoint responses
- exception objects
- controller action results
- error codes
- error messages
Outputs
- standardized JSON responses
- success response envelopes
- error response envelopes
- HTTP status codes
Requirements
- ASP.NET Core
- C# 12 or higher
