GET
/
repos
/
{repo_id}
/
commits
/
bulk
curl --request GET \
  --url https://api.diversion.dev/v0/repos/{repo_id}/commits/bulk \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
Example:

"example_id"

Query Parameters

ref_ids
string[]
required

List of reference IDs to include

Minimum length: 1

A reference ID

Response

200
application/json

An object describing a mapping of a commit by its ID

The response is of type object.