api-docs-icon

Get Stats about the specification

GET
/ api/ {api_name}/ spec/ {api_version}/ stats

api_name
string
required

Unique project name or the uuid

Example:
my-project
api_version
union
required

Can be either the semantic version or a released type (like latest)

Variant 1
enum
Allowed Values:
latest
OR
Variant 2
string

Semantic version following conventions from https://semver.org/

Example:
0.1.0

Responses

OpenAPI Stats Data

application/json
object
authenticated_methods
integer
required

Total Authenticated Methods (operations)

authentication_schemes
array[string]
required

A description of all defined auth schemes

endpoints
integer
required

Total Endpoints (paths)

lint_errors
object
required

methods
integer
required

Total Methods (operations)

public_methods
integer
required

Total Unauthenticated Methods (operations)

response_codes
array[integer]
required

All Response Codes (not deduplicated)

Code Examples

Response