🔌
API

REST API overview & the Response Envelope

0views0comments

The standard { status_code, success, code, data… } shape used everywhere.

Overview

Every SITESAFF API returns exactly one envelope shape, whether it succeeds or fails.

The standard shape

{ status_code, success, code, message, meta, pagination?, data } — controllers never invent their own format.

Why standardize

Clients only need one response-handling layer for the entire system, cutting duplicate code and edge-case bugs.

Tags

apirest

Docs

Back

Category

API · Docs

REST API overview & the Response Envelope | WIKI IT