Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Create a handler to return log message and textual diff for a given ref of a repository #164

Open
@scorphus

Description

Something like:

GET /repository/:name/show/:ref

That returns:

[
    {
        "ref": "f0a0b3e8e8d3f3f0a9a6e6e3e4a9d4e2d9a0c9c7",
        "parent": "e2e9e4a1d3d9e3a0c8c3e1a4e9d2a3e0e6e1a8e6",
        "title": "Do something",
        "diff": "…", # The actual diff
        "author": {
            "name": "Doge Dog",
            "email": "[email protected]"
        },
        "committer": {
            "name": "Dog Doge",
            "email": "[email protected]"
        },
        "created_at": "Thu Sep 4 20:48:18 2014 -0300"
    }
]

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions