Skip to content

Commit

Permalink
Add healthcheck to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemonteith committed May 26, 2021
1 parent 14a929b commit 7bfb4e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ Free-text user comments.
}
```

### Healthcheck

Test the health of the function. Useful for monitoring.

Returns a 503 response if database is unreachable. 200 OK otherwise.

`GET /healthcheck/`

## Contributing

### Tests
Expand Down

0 comments on commit 7bfb4e8

Please sign in to comment.