Stasis
Commits

Get diff

Get diff for a commit

GET
/api/v1/repos/{owner}/{repo}/diff/{hash}

Path Parameters

owner*string
repo*string
hash*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/repos/string/string/diff/string"
{
  "additions": 0,
  "commit_hash": "string",
  "content": "string",
  "deletions": 0,
  "files": [
    {
      "additions": 0,
      "deletions": 0,
      "new_path": "string",
      "old_path": "string",
      "patch": "string",
      "status": "string"
    }
  ],
  "files_changed": 0
}
Empty
Empty