Version
이 콘텐츠는 아직 번역되지 않았습니다.
What every endpoint shares is on Conventions.
GET /v1/version
Section titled “GET /v1/version”Reports the server’s name and version.
Unauthenticated and side-effect free. Clients use it as a reachability probe before attempting a protocol handshake, so it must stay cheap and must never fail for a reason the caller could act on — there is no failure variant, and the return type says so.
Authentication: none.
Responses
-
200
OK. Headers:
X-Capsule-Min-Client-Build,X-Capsule-Protocol-Max,X-Capsule-Protocol-Min,X-Request-Id. -
413
the request body exceeds the configured limit. Headers:
X-Capsule-Min-Client-Build,X-Capsule-Protocol-Max,X-Capsule-Protocol-Min,X-Request-Id.
curl -X GET 'https://capsule.example/v1/version'{ "name": "string", "version": "string"}Schemas
Section titled “Schemas”The models these endpoints carry, to 4 references deep.
CodedProblem
Section titled “CodedProblem”An RFC 9457 problem detail.
| Field | Type | Description |
|---|---|---|
type |
string |
Required. |
title |
string |
— |
status |
integer |
Required. |
detail |
string |
— |
instance |
string |
— |
code |
string |
Required. The stable error.* catalog code. The client localizes this; detail stays English. Present on every problem this server renders. |
request_id |
string |
The UUIDv7 this server minted for the request, as the X-Request-Id header carries it. Quote it when reporting the failure: it names the request’s log lines. |
VersionResponse
Section titled “VersionResponse”Identifies the running server.
Deliberately incurious: a name and a version, no build host, no commit, no uptime, no feature list. This endpoint is unauthenticated, so everything it returns is public, and a key-free server has no reason to hand an anonymous caller a fingerprint of its deployment. Exact client build identification runs the other way — clients tell the server what they are, not the reverse.
| Field | Type | Description |
|---|---|---|
name |
string |
Required. The server package name. |
version |
string |
Required. The server package version. |