Skip to content

Commit

Permalink
Merge pull request #1145 from AshleyPoole/ash/add-health-api-doc
Browse files Browse the repository at this point in the history
Add documentation for API health endpoint
  • Loading branch information
nickysemenza authored Nov 9, 2020
2 parents 816bb92 + 7f46009 commit 9ccff9a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/api/endpoint_health.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
THE HEALTH ENDPOINT

Endpoint: /api/v1/cfssl/health
Method: GET

Result:

The returned result is a JSON object with a single key:

* healthy: a bool indicating if the API server is healthy

Example:

$ curl ${CFSSL_HOST}/api/v1/cfssl/health

0 comments on commit 9ccff9a

Please sign in to comment.