Skip to content

Commit 9ccff9a

Browse files
authored
Merge pull request #1145 from AshleyPoole/ash/add-health-api-doc
Add documentation for API health endpoint
2 parents 816bb92 + 7f46009 commit 9ccff9a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

doc/api/endpoint_health.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
THE HEALTH ENDPOINT
2+
3+
Endpoint: /api/v1/cfssl/health
4+
Method: GET
5+
6+
Result:
7+
8+
The returned result is a JSON object with a single key:
9+
10+
* healthy: a bool indicating if the API server is healthy
11+
12+
Example:
13+
14+
$ curl ${CFSSL_HOST}/api/v1/cfssl/health

0 commit comments

Comments
 (0)