Sarmal Library · backend
Endpoint
an API endpoint: path + method + request/response contract + authorization + rate limit
- Family
- backend
- .sar
- Uç
Fields
| Field | Type | Required |
|---|---|---|
code | · | Required |
path | · | Required |
contract | · | Required |
methodAllowed values: | enum | Optional |
file | · | Optional |
Rule
A data schema NEVER lives on an Endpoint; it lives in a Contract. The identity and secret flags are likewise declared at the Contract level.
Back to the Library
Source: SNF-0 v0.6 · Seal 8031fb8fcffc113a