Izaak Alpert
a00c534c4c
Fix a bug where the tgz returned got encoded utf8
...
Conflicts:
doc/api/repositories.md
Change-Id: I7ebc39b47ff860813d9622ba6776583536e6e384
2013-10-10 09:19:28 -04:00
Izaak Alpert
ce21d8688d
feature API call to download repo archive
...
defaults to HEAD
Conflicts:
spec/requests/api/repositories_spec.rb
Change-Id: Id114aca6c59d75f18e49bf9f33809a04e010bfb6
2013-10-10 09:19:28 -04:00
Dmitriy Zaporozhets
1d3f03fb69
Fix blob and repo stuff after gitlab_git v3
2013-10-01 18:26:55 +03:00
Dmitriy Zaporozhets
726fa6c76a
Respect authorization in Repository API
...
* dont allow protect/unprotect branches for users without master permissions
* dont allow access to Repository api for guests
2013-09-29 16:04:57 +03:00
Alex Van't Hof
59f428dca2
Standardize commit diff api url, change blob api url, add get single commit
...
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"
2013-08-27 21:22:42 -04:00
Gabor Nagy
d139cc6b32
Adds feature: get a diff via API.
2013-08-25 23:48:11 +02:00
Dmitriy Zaporozhets
da6f4f06c7
API: implement retrieve of repository tree
2013-06-06 18:01:03 +03:00
Dmitriy Zaporozhets
cf9a366e22
API: Fix repository commits pagination
2013-06-06 16:16:49 +03:00
Dmitriy Zaporozhets
9351a295c1
Up grape version. Fix issue with raw content being escaped
2013-05-27 17:14:47 +03:00
Dmitriy Zaporozhets
068cf2f467
split repositories and projects api
2013-05-23 12:23:47 +03:00