Skip to main content
GET
/
v1
/
machines
/
{id}
/
git
/
log
Commit history
import requests

url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/git/log"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "commits": [
    {
      "sha": "<string>",
      "author_name": "<string>",
      "author_email": "<string>",
      "date": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

id
string
required

Machine ID (e.g. mch_a1b2c3d4)

Query Parameters

path
string
required
limit
integer<int32>

Maximum number of commits to return.

Required range: x >= 1

Response

200 - application/json

Commit list

commits
object[]
required