Commits

The commit table shows all the commits made to a repository.

Body Params
int32

CommitId is an identity field in the Commit table, designed to uniquely identify each individual commit. It is of data type integer, meaning it can hold whole numbers from -2,147,483,648 to 2,147,483,647. This field is automatically generated and assigned to a commit when it is created, ensuring that each commit has a distinct identifier. The CommitId is an essential component of the Commit table, allowing for efficient retrieval and tracking of specific commits within the database.

string
required
length between 1 and 40

The Sha field is a unique identifier assigned by the source code management tool to each commit made on the project. The Sha field ensures that all changes are properly recorded and can be easily traced back to their source, providing a reliable and efficient way of managing project updates.

string
required
length between 1 and 32

The RepositoryId field in the Commit table is a nvarchar data type that can hold a maximum of 32 characters. This field is used to identify the specific repository to which the commit belongs. It serves as a unique identifier for each commit within the table, ensuring that the data is organized and easily searchable. The RepositoryId field is essential for tracking and managing code changes within a repository, allowing for efficient version control and collaboration among team members. The use of nvarchar as the data type ensures flexibility in storing both numeric and character data, making it a versatile field for organizing repository data.

string
required
length ≥ 1

The Message field in the Commit table is of data type nvarchar with a maximum length of 256 characters. This field is used to store a brief description or comment related to a specific commit. It can be used to provide additional context or information about the changes made in a particular commit, such as the reason for the change or any relevant details. This field is designed to help developers and other users better understand the purpose and impact of each commit in the project. The 256-character limit ensures that the message is concise, yet detailed enough to effectively convey its purpose.

string | null

Miscellaneous notes and information for the entry or record.

int32 | null

The author of the commit that was made in the the source code management (SCM) repository.

date-time | null

The ScmCreatedOn field in the Commit table is a datetime2 data type that stores the date and time of when a commit was created. This field represents the exact moment in which a change or update was made to the repository, providing a detailed record of the commit history. By utilizing the datetime2 data type, this field ensures precision and accuracy in capturing when each commit occurred. It is a vital piece of information for version control and helps to track the progress and development of a project over time.

Response
200

OK

Language
URL
Response
Click Try It! to start a request and see the response here!