API repository documentation updated, includes infos to return codes

The API documentation of repository is updated and now contains infos to status codes.
Code documentation is also adjusted for `GET /projects/:id/repository/commits` and includes infos to
pagination attributes. Tests are updated.
This commit is contained in:
Sebastian Ziebell 2013-02-27 11:24:12 +01:00
parent ac4a09e9cc
commit e119b0a0cb
3 changed files with 73 additions and 25 deletions

View file

@ -331,7 +331,9 @@ module Gitlab
#
# Parameters:
# id (required) - The ID of a project
# ref_name (optional) - The name of a repository branch or tag
# ref_name (optional) - The name of a repository branch or tag, if not given the default branch is used
# page (optional) - The page number of the commit pagination
# per_page (optional) - The number of elements per page used in pagination
# Example Request:
# GET /projects/:id/repository/commits
get ":id/repository/commits" do