This method allows you to view useful information about a specific revision in the connected repository.

**Tip**: You can explore and test this endpoint interactively using our [OpenAPI documentation](https://api.deployhq.com/docs).

## URL

```
/projects/<project>/repository/commit_info
```

Replace `<project>` with either the `permalink` or `identifier` of the project.

## HTTP Method

```
GET
```

## Supported Parameters

* `commit` - the commit reference of the revision you wish to view (required)

## Example cURL Request

```
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
-d { \
  "commit" : "1234567abcdefg" \ 
} \
https://test.deployhq.com/projects/project/repository/commit_info
```

## Example Response

```json
{
  "ref": "1234567abcdefg",
  "author": "Adam West",
  "email": "adamw@atech.media",
  "timestamp": "2018-03-12T09:42:50+00:00",
  "message": "Test commit '",
  "short_message": "Test commit '",
  "tags": [],
  "avatar_url": "https://identity.atechmedia.com/avatar/xxxxxxx-yyyyyyy-zzzzzz-aaaaaaaa/128"
}
```