Skip to main content
GET
curl (Linux)

Authorizations

Authorization
string
header
required

The token from the agent's discovery file (%ProgramData%\Miru\device-api\device-api.json on Windows). Required over loopback TCP (127.0.0.1:6478 by default on Windows) and accepted by every route; not used over the Unix socket.

Path Parameters

git_commit_id
string
required

The unique identifier of the git commit.

Example:

"git_commit_123"

Response

200 - application/json

Successfully retrieved the git commit.

object
enum<string>
required

The object type, which is always git_commit.

Available options:
git_commit
Example:

"git_commit"

id
string
required

ID of the git commit.

Example:

"git_commit_123"

sha
string
required

The SHA hash of the git commit.

Example:

"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0"

message
string
required

The commit message.

Example:

"Add basic motion configurations"

commit_url
string
required

The URL of the git commit.

Example:

"https://github.com/user/repo/commit/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0"

created_at
string<date-time>
required

Timestamp of when the git commit was created.

Example:

"2021-01-01T00:00:00Z"