• A
    Standardize commit diff api url, change blob api url, add get single commit · 59f428dc
    Alex Van't Hof 提交于
    Use "/commits/:sha/diff" as opposed to "/commit/:sha", keeping in line
    with existing api urls (e.g. "/projects/:id", etc.)
    
    Fix 500 error resulting from a diff api call with an invalid commit hash
    
    Move "/commits/:sha/blob" to "/blobs/:sha", leaving the old path for
    backwards compatibility.
    
    Add ability to get a single commit via "/commits/:sha"
    59f428dc
repositories.rb 6.2 KB