Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

Check gateway readiness

Generated from the checked-in source. Do not edit this reference by hand.

GET /readyz

Reports Niu core readiness only. Private Enterprise module failures are reported by /enterprise/readyz and do not make healthy core routes unready.

Operation: getReadiness.

No OpenAPI security scheme is required. Other request validation still applies.

JSON
[]

Set NIU_ORIGIN to your installation origin (without /v1). Replace path, query and header placeholders with the required values. Query examples use curl 7.87 or newer to encode values with --url-query. Use the credential scope described above; a bearer token must have the authority required by this operation.

Shell
curl --fail-with-body -X GET "$NIU_ORIGIN/readyz"

No path, query, or header parameters are declared.

No request body is declared.

The gateway loaded its configuration and can accept requests.

Reports Niu core readiness only. Private Enterprise module failures are reported by /enterprise/readyz and do not make healthy core routes unready.