Version
Interface Description
Read the product version and Developer OpenAPI version for client compatibility checks.
Endpoint
| Field | Value |
|---|---|
| Method | GET |
| Path | /openapi/v2/version |
| Operation ID | getDeveloperOpenApiVersion |
| Authentication | Bearer OpenAPI key |
Parameters
This operation has no path or query parameters.
Request Body
This operation has no request body.
Request Example
bash
curl -X GET "https://openapi.example.com/openapi/v2/version" \
-H "Authorization: Bearer <openapi-key>"Successful Responses
200
Current product and Developer OpenAPI versions.
| Field | Required | Type | Description |
|---|---|---|---|
product | Yes | "focowiki" | Product identifier. |
version | Yes | string | Current product release version. |
apiVersion | Yes | "v2" | Developer OpenAPI contract version. |
Success Response Example
json
{
"product": "focowiki",
"version": "0.7.47",
"apiVersion": "v2"
}Error Codes
The table below lists every error response documented for this operation.
| HTTP Status | Error Code | Explanation |
|---|---|---|
| 401 | UNAUTHORIZED | The Bearer API key is missing, malformed, unknown, revoked, or deleted. |
| 429 | RATE_LIMITED | The request exceeded the configured rate limits. |
| 500 | INTERNAL_ERROR | The API encountered an internal error. |
| 503 | DATABASE_REPOSITORY_UNAVAILABLE | The data required by this operation is temporarily unavailable. |