Athenian metrics API is one of 15 APIs that Athenian publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Metrics. The published artifact set on APIs.io includes an OpenAPI specification.
This API exposes
7 operations
across 7 paths,
and defines 56 schemas.
It is described by OpenAPI 3.2.0, at version 2.1.86.
Requests are made against a single base URL, {{ server_url }}/v1.
The identity and technical contract details declared by the specification.
WithBothJiraAndJiragroups
object
An object having both jira and jiragroups fields.
2 properties
2 required
CalculatedPullRequestMetrics
object
Response from /metrics/pullrequests. The dates start from datefrom and end earlier or equal to dateto. The order of the items is not guaranteed to match any ex…
8 properties
6 required
CodeFilter
object
Filter for revealing code bypassing PRs.
9 properties
5 required
RepositoryID
string
Repository name which uniquely identifies any repository in any service provider. The format matches the repository URL without the protocol part. No ".git" sh…
JIRAMetricID
string
Currently supported JIRA activity metrics. jira-open - number of issues active by the end of the time interval. jira-resolved - number of issues closed in the…
DeploymentMetricsRequest
object
Request body of /metrics/deployments, the deployments selector.
8 properties
6 required
ForSetCodeChecks
object
Filters for /metrics/codechecks and /histograms/codechecks. Achieve the best performance by packing all your filters in a single ForSetCodeChecks instead of se…
8 properties
1 required
DeveloperMetricID
string
Currently supported developer metric types. dev-commits-pushed: how many commits were pushed. dev-lines-changed: how many lines were either inserted or removed…
CalculatedDeveloperMetricsItem
object
Measured developer metrics for each DeveloperMetricsRequest.for. Each repository group maps to a distinct CalculatedDeveloperMetricsItem.
3 properties
3 required
CalculatedLinearMetricValues
object
5 properties
2 required
CalculatedJIRAMetricValues
object
Calculated JIRA metrics for a specific granularity.
5 properties
2 required
DeploymentMetricID
string
Supported deployment metrics. dep-count - number of deployments in the time period. dep-duration-all - average deployment procedure time - the difference betwe…
Quantiles
array
Cut the distributions at certain quantiles. The default values are [0, 1] which means no cutting.
JIRAFilter
object
Filters related to JIRA traits. The aggregation between each filter type is AND.
8 properties
CalculatedDeveloperMetrics
object
Response of /metrics/developers. The dates start from datefrom and end earlier or equal to dateto. The order of the items is not guaranteed to match any expect…
6 properties
5 required
ForSetDeployments
object
Filters for /metrics/deployments. Nothing is strictly required. Achieve the best performance by packing all your filters in a single ForSetDeployments instead…
11 properties
CodeCheckMetricsRequest
object
Request for calculating metrics on top of code check runs (CI) data.
9 properties
6 required
JIRAMetricsRequest
object
Request body of /metrics/jira.
17 properties
6 required
TimeZone
integer
Local time zone offset in minutes, used to adjust datefrom and dateto.
PullRequestMetricsRequest
object
Request for calculating metrics on top of pull requests data.
10 properties
7 required
GenericError
object
5 properties
3 required
DeveloperID
string
User name which uniquely identifies any developer on any service provider. The format matches the profile URL without the protocol part.
JIRAFilterWith
object
Group of JIRA issue participant names split by role.
3 properties
JIRAStatusCategory
string
The category of a JIRA issue status.
IndexedGroups
array
Lists of indexes in repositories or developers that define independent groups that must be processed individually. The groups may have intersections.
ReleaseMetricsRequest
object
Request of /metrics/releases to calculate metrics on releases.
13 properties
6 required
CalculatedCodeCheckMetricsItem
object
Series of calculated metrics for a specific set of repositories and commit authors.
5 properties
2 required
CodeCheckMetricID
string
The mentioned terms such as "check suite" and "check run" belong to [the official documentation on GitHub](https://docs.github.com/en/rest/guides/getting-start…
DeveloperSet
array
A set of developers. An empty list disables the filter and includes everybody. Duplicates are automatically ignored.
ForSetDevelopers
object
Filter for /metrics/developers. Achieve the best performance by packing all your filters in a single ForSetDevelopers instead of sending multiple ForSetDevelop…
7 properties
2 required
CalculatedJIRAMetrics
array
Response from /metrics/jira. The order of the items is not guaranteed to match any expectations.
ReleaseWith
object
Release contribution roles. The aggregation is OR everywhere. It is possible to mention whole teams using the syntax {id} where id is a team identifier (see /t…
3 properties
CalculatedReleaseMetrics
array
Response from /metrics/releases. The order of the items is not guaranteed to match any expectations.
RepositorySet
array
Set of repositories. An empty list raises a bad response 400. Duplicates are automatically ignored.
CalculatedDeploymentMetric
object
Calculated metrics for a deployments group.
4 properties
4 required
PullRequestMetricID
string
Currently supported PR metric types. pr-wip-time: average time spent in Work In Progress stage. pr-wip-time-below-threshold-ratio: ratio of PRs with a pr-wip-t…
JIRAGroups
array
Calculate metrics separately for each JIRA Filter in the list. Not compatible with jira field.
CalculatedPullRequestMetricsItem
object
Series of calculated metrics for a specific set of repositories and developers.
3 properties
2 required
TimeDuration
string
Time duration value.
Granularity
string
How often the metrics are reported. The value must satisfy the following regular expression: /^all|(([1-9]\d )?(aligned )?(day|week|month|year))$/. "all" produ…
ReleaseMetricID
string
Currently supported release metric types. release-count - number of all releases in the time interval. release-tag-count - number of releases by tag in the tim…
DeploymentWith
object
Deployment contribution roles. The aggregation is OR everywhere. It is possible to mention whole teams using the syntax {id} where id is a team identifier (see…
3 properties
Granularities
array
The splits of the specified time range.
ForSetPullRequests
object
Filter for /metrics/pullrequests and /histograms/pullrequests. Achieve the best performance by packing all your filters in a single ForSetPullRequests instead…
10 properties
CalculatedReleaseMetric
object
Calculated release metric values.
7 properties
4 required
PullRequestWith
object
Triage PRs by various developer participation. The aggregation is OR between the participation groups and OR within each group. For example, if our request is…
7 properties
CalculatedCodeCheckMetrics
object
Response from /metrics/codechecks. The dates start from datefrom and end earlier or equal to dateto. The order of the items is not guaranteed to match any expe…
8 properties
5 required
ReleaseMatchStrategy
string
Release workflow choice: how we should detect releases. branch: merges to certain branches are considered releases and nothing else. event: releases are manual…
CodeBypassingPRsMeasurement
object
Statistics about code pushed outside of pull requests in a certain time interval.
5 properties
5 required
MeasuredCodeBypassingPRs
array
Statistics about code pushed outside of pull requests.
CalculatedDeploymentMetrics
array
Response from /metrics/deployments, metrics calculated for each selected deployments group. The order of the items is not guaranteed to match any expectations.
DeveloperMetricsRequest
object
Request for calculating metrics on top of developer activities.
7 properties
6 required
CommitPushers
array
Check runs must be triggered by commits pushed by these people. When it is impossible to determine who pushed, e.g. in legacy API based checks, they are commit…
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Athenian publishes across the network.