Logo
NeoArc Studio

Responses Reference

Complete reference for REST API response definitions including status codes, schemas, headers, and content types.

Response definitions describe what an API endpoint returns for different status codes. Document all possible responses to help API consumers handle them correctly.

Response Properties

Core response properties
PropertyTypeDescription
statusCodestringHTTP status code (e.g., 200, 404)
descriptionstringResponse description
contentobjectContent type and schema
headersobjectResponse header definitions

HTTP Status Codes

Response Content

Response content properties
PropertyDescription
mediaTypeContent type (application/json, text/plain, etc.)
schemaResponse body schema (link to NeoArc schema)
examplesExample responses with names and values

Response Headers

Common response headers
HeaderDescription
X-RateLimit-LimitMaximum requests allowed per window
X-RateLimit-RemainingRequests remaining in current window
X-RateLimit-ResetUnix timestamp when limit resets
X-Request-IDUnique request identifier for debugging
LocationURL of created resource (201 responses)
ETagEntity tag for caching
Last-ModifiedLast modification timestamp

Error Response Schema

Standard error response properties
PropertyTypeDescription
codestringMachine-readable error code
messagestringHuman-readable error message
detailsarrayAdditional error details or field errors
timestampstringISO 8601 timestamp of error
pathstringRequest path that caused the error