diff --git a/docs/api.md b/docs/api.md index f8cf9d4834d276f5edfa0da8d3ad58d937a33383..9943fcd0cefe36116db3cbcdfe7864c3e2324bd2 100644 --- a/docs/api.md +++ b/docs/api.md @@ -20,7 +20,7 @@ There are 4 API endpoints: For sending log entries, expects a snappy compressed proto in the HTTP Body: - - [ProtoBuffer defition](/pkg/logproto/logproto.proto) + - [ProtoBuffer definition](/pkg/logproto/logproto.proto) - [Golang client library](/pkg/promtail/client.go) Also accepts JSON formatted requests when the header `Content-Type: application/json` is sent. Example of the JSON format: