Skip to main content
GET
Get a single CalcRule

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

id
integer
required

Response

Request successful.

id
integer
required
read-only
name
string
required
read-only
rule_type
enum<string>
required
read-only
  • commit - commit
  • overcommit - overcommit
  • stepped - stepped
  • staged - staged
  • commit_hourly - commit_hourly
Available options:
commit,
overcommit,
stepped,
staged,
commit_hourly