A commit represents a set of code changes stored in git.
Who can use this?
Core | Plus | ||
✓ |
Supported request
Get a list of commits: https://flow.pluralsight.com/v3/customer/core/commits/
Fields
Name | Type | Description |
---|---|---|
id | double | Commit ID (not the SHA). |
hexsha | string | Unique identifier for the commit. |
user_alias | double | Filter-traversable object |
user_alias_id | double | Unique identifier assigned to an user alias. |
user_alias_id__in | string | Multiple user_alias_ids in comma separated list. |
apex_user_id | double | Unique identifier for the main user record for multiple user aliases that is associated with a commit. |
apex_user_id__in | string | Multiple apex_user_id in a comma separated list. |
repo_id | double | Unique identifier for a repository. |
author_date | string | Commit author date. |
author_tzoffset | double | The time zone offset from UTC+0 for an author (in seconds). |
author_local_date | string | Author date adjusted to the author’s local time based on the author_tzoffset. |
committer_date | string | Date and time of the commit. |
committer_tzoffset | string | The time zone offset from UTC+0 for the commit (in seconds). |
ignore_hash | string | A hash of the "Ignored Files" text when a commit was last updated. |
is_merge | boolean | Returns true to indicate the commit is merged. |
is_pr_orphan | boolean | Returns true to indicate the commit is for a pull request that does not have a parent. |
message | string | Commit message. |
extracted_tags | string | Commit tags. |
external_commit_url | string | External commit URL. |
haloc | double | Hunk Aware Lines of Code (total lines of code). |
new_work | double | Number of new lines of code. |
legacy_refactor | double | Number of lines of edited code replacing code older than three weeks. |
help_others | double | Number of lines of edited code replacing code less than three weeks. |
churn (called rework in Flow) | double | Number of lines of edited codes replacing code less than three weeks authored by the same authored. |
files | double | Number of files. |
hunks | double | Number of hunks (blocks of code in a file). |
insertions | double | Number of insertions. |
deletions | double | Number of deletions. |
levenshtein | double | The total edit distance per line, over the total line length for each hunk represented as a percentage. |
risk | double | Number representing how likely it is the commit will cause problems. |
impact | double | Number of impact for the commit. |
is_trivial | string | Returns true to indicate the commit is trivial. |
ins_del_ratio | double | Ratio of inserts to deletions. |
is_outlier | boolean | Returns true if the commit has been marked as an outlier. |
outlier_reason | string | Reason why the commit is an outlier. |
logical_code | double | Number of lines of code that are not comments or whitespace. Configurable in the Advanced Outlier Detection Settings. |
multi_line_comments | double | Number of comments that span across multiple lines. |
single_line_comments | double | Number of comments that are single line comments. |
whitespace_and_punctuation | double | Number of lines that included only whitespace or punctuation. |
Example response

If you need help, please contact Pluralsight Support.