Robert Schilling
e80313f9ee
Conditionally destroy a ressource
2017-08-28 16:40:25 +02:00
Robert Schilling
998afa5f74
API: Respect the 'If-Unmodified-Since' for delete endpoints
2017-08-28 16:40:25 +02:00
Dmitriy Zaporozhets
6b8ad689da
Update grape gem
...
New version of the gem returns 200 status code on delete with content
instead of 204 so we explicitly set status code to keep existing
behavior
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-07-20 16:33:18 +03:00
Robert Schilling
86c58687b2
Return 204 for delete endpoints
2017-02-28 08:32:38 +01:00
Robert Schilling
01ea65e0e9
Paginate all endpoints that return an array
2017-02-16 15:32:01 +01:00
Robert Schilling
76bd09326f
Use declared_params helper in API
2016-11-14 15:22:06 +01:00
Robert Schilling
659ef54605
API: Return 400 when creating a systemhook fails
2016-11-08 10:05:19 +01:00
Zeger-Jan van de Weg
57fd233a55
Update docs and unexpose token
2016-11-02 13:14:12 +01:00
Z.J. van de Weg
a4827ee2b9
Be able to POST subscriptions for system hooks
2016-10-31 13:42:29 +01:00
Robert Schilling
0459358103
API: Fix Sytem hooks delete behavior
2016-10-14 14:16:27 +02:00
Robert Schilling
e836b904b7
Grapify system hooks API
2016-10-13 19:22:34 +02:00
bugagazavr
acac788902
Added X-GitLab-Event header for web hooks
2015-05-08 16:49:03 +03:00
Valery Sizov
bc9ba5237c
Revert "Added X-GitLab-Event header for web hooks"
...
This reverts commit 548f182814
.
2015-04-27 16:29:31 +03:00
bugagazavr
548f182814
Added X-GitLab-Event header for web hooks
2015-04-25 21:31:52 +03:00
Dmitriy Zaporozhets
da884aabc7
Avoid using {...} for multi-line blocks
2015-02-02 21:22:57 -08:00
Dmitriy Zaporozhets
634cbd7138
Refactor API classes. So api classes like Gitlab::Issues become API::Issues
2013-05-14 15:33:31 +03:00
Andrey Kumanyaev
b1b354b0f8
remove trailing spaces
2013-05-05 18:02:02 +04:00
Sebastian Ziebell
32f1eaaf0f
API: system hooks API functions and documentation updated
...
* updated system hooks documentation and code comments
* fixed access to system hooks if no user given resulting in a `500 Server Error`
* added tests
2013-03-07 17:56:11 +01:00
Matt Humphrey
1dd712ddc2
System hooks API.
2013-03-06 15:15:26 +00:00