Count entries

Count the number of log entries for a given key within an optional sequence range.

get/api/v1/log/count

Query parameters

keystring required

Key to count (URL-encoded if it contains special characters).

start_seqinteger

Start sequence number (inclusive). Defaults to 0.

end_seqinteger

End sequence number (exclusive). Defaults to max uint64.

Response

Entry count.

statusstring required
countinteger required

Number of entries matching the query.

Example response

{
  "status": "success"
}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.