Stasis
Code

Get last commit for a file

Get the last commit that modified a specific file

GET
/api/v1/repos/{owner}/{repo}/file-commit/{ref}/{path}

Path Parameters

owner*string
repo*string
ref*string
path*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/repos/string/string/file-commit/string/string"
{
  "hash": "string",
  "message": "string",
  "author": "string",
  "author_email": "string",
  "date": "2019-08-24T14:15:22Z"
}
Empty