Logo
NeoArc Studio

Endpoints and Parameters

Define API endpoints with path, query, header, and cookie parameters. Configure request bodies and link to your data schemas.

Endpoints are the individual operations in your API. Each endpoint has a method, path, and configuration for parameters, request body, and responses. The structured editor keeps all endpoint details properly documented.

Creating an Endpoint

Endpoint Properties

Every endpoint requires:

PropertyRequiredDescription
IDYesUnique identifier
NameYesHuman-readable operation name
MethodYesHTTP verb (GET, POST, PUT, etc.)
PathYesURL path (e.g., /users/{id})

Optional properties:

The Endpoint Editor

The endpoint editor has four tabs:

Basics
Method, path, description, operationId
Request
Parameters and request body
Responses
Status codes and response schemas
Metadata
Tags, links, deprecation

Parameter Types

NeoArc supports four parameter locations:

Common Query Parameters

CategoryParameters
Paginationpage, limit, offset
Sortingsort, order
Filteringfilter, search, status
Fieldsfields, include, expand

Common Header Parameters

HeaderPurpose
X-Request-IDCorrelation identifier
X-API-VersionVersion selection
Accept-LanguageLocalisation preference
X-Tenant-IDMulti-tenant identifier

Linking Parameters to Schemas

Each parameter type references a schema that defines the parameter fields:

Here are examples of endpoints that reference path parameter schemas. Notice how each path param schema extends a base IdPathParam schema and overrides the lineage to point to the specific domain entity:

And here is an example showing query parameters linked to a pagination schema:

Request Body

For POST, PUT, and PATCH requests, configure the request body:

Common Request Content Types

Content TypeUse Case
application/jsonMost common for REST APIs
application/x-www-form-urlencodedHTML form submissions
multipart/form-dataFile uploads with form data
application/xmlXML payloads
text/plainPlain text

Example Endpoints

Next Steps

Security Schemes
Configure authentication for your endpoints
Learn more →
Responses and Export
Document responses and export to OpenAPI
Learn more →