Robert Speicher
58e2b44afe
Merge branch 'api-version' into 'master'
...
API: Version information
## What does this MR do?
Adds a new endpoint to retrieve the version information.
## Why was this MR needed?
Clients can now use this information to enable/disable certain API features depending on the version.
## What are the relevant issue numbers?
Closes #22608 , https://gitlab.com/gitlab-org/gitlab-ce/issues/23148
See merge request !6822
2016-10-12 18:38:02 +00:00
Robert Schilling
b998479c81
API: Version information
2016-10-12 16:47:35 +02:00
Thomas Balthazar
b9b13ea801
Create a new /templates API namespace
...
The /licenses, /gitignores and /gitlab_ci_ymls endpoints are now also
available under a new /templates namespace. Old endpoints will be
deprecated when GitLab 9.0.0 is released.
2016-10-12 11:09:41 +02:00
Dmitriy Zaporozhets
137ebcfb3c
Replace undefined Grape routing code from 400 to 404
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-10 16:32:32 +03:00
Dmitriy Zaporozhets
d6cfc0042e
Catch any undefined API routing and return 400 Bad Request
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-10 16:32:32 +03:00
Andre Guedes
41d70ea300
Added Issue Board API support
...
- Includes documentation and tests
2016-10-05 13:12:07 -03:00
Achilleas Pipinellis
7150774530
Keep API mounts in alphabetical order
2016-09-25 11:28:23 +03:00
Marc Siegfriedt
48333b9da3
Add notification_settings API calls
...
Use NotificationSetting::EMAIL_EVENTS for params
2016-09-09 17:08:06 +00:00
Katarzyna Kobierska
ca1f5ede84
Move lint to api from ci/api
2016-09-07 12:10:49 +02:00
Robert Speicher
6a58af3a4a
Add BroadcastMessage API implementation
2016-08-31 17:03:18 -03:00
Douwe Maan
bbd9a6fe40
Merge branch 'dz-merge-request-version'
2016-08-25 12:59:21 -05:00
Stan Hu
170885edd6
Add Sentry logging to API calls
...
Closes #21043
2016-08-24 12:09:51 -07:00
Dmitriy Zaporozhets
6db65143db
Merge branch 'master' into dz-merge-request-version
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-08-19 13:01:58 +03:00
Z.J. van de Weg
47d6f286eb
Add deployment endpoints
2016-08-18 21:10:52 +02:00
Z.J. van de Weg
de7b8e51b8
Add endpoints for pipelines
2016-08-18 16:56:39 +02:00
Dmitriy Zaporozhets
5e95c0b8d2
Merge branch 'master' into dz-merge-request-version
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-08-15 17:27:22 +03:00
Rémy Coutable
29850364ec
New AccessRequests API endpoints for Group & Project
...
Also, mutualize AccessRequests and Members endpoints for Group &
Project.
New API documentation for the AccessRequests endpoints.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-10 19:07:05 +02:00
Connor Shea
c53b599e61
Retain old behavior
2016-08-09 09:42:49 -06:00
Dmitriy Zaporozhets
9a5f40878c
Add API to list merge request diff versions
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-08-03 11:32:29 +03:00
Z.J. van de Weg
1b72256fa1
Use Grape DSL for environment endpoints
...
Also a couple of minor edits for this branch are included
2016-07-29 20:35:38 +02:00
Z.J. van de Weg
84cd212095
Add API support for environments
2016-07-29 13:54:45 +02:00
Douglas Barbosa Alexandre
a1f224d3f7
Add Todos API
2016-07-01 10:49:34 +02:00
Drew Blessing
1910fd05ae
Rename Licenses API to License Templates API
2016-06-27 14:42:05 -05:00
ZJ van de Weg
27bf7ae59e
Refactor Gitlab::Gitignores
2016-06-20 14:48:28 -05:00
Z.J. van de Weg
05a4a586b5
Add endpoints for award emoji on notes
...
Docs also added.
2016-06-17 21:02:51 +02:00
Z.J. van de Weg
34558315d9
Sort API endpoints and implement feedback
2016-06-17 20:08:16 +02:00
Z.J. van de Weg
3f88221c2d
Add endpoints for Award Emoji
...
This only supports Issues and MergeRequests right now because of the
consistency of the routes those models provide.
2016-06-17 20:07:17 +02:00
Patricio Cano
23457cba44
Added missing mount point for Sidekiq Metrics API, after it got lost on rebase.
2016-06-17 11:49:27 -05:00
Zeger-Jan van de Weg
e166a8022a
Backend for a gitignores dropdown
2016-05-20 15:58:36 -05:00
Ahmad Sherif
0c22698bd4
Add API endpoints for un/subscribing from/to a label
...
Closes #15638
2016-05-12 22:48:09 +02:00
Rémy Coutable
5589dcf8db
Fix a few places where autoloading would fail
...
- Fix naming of API::CommitStatuses
- Ensure we use require_dependency instead of require
- Ensure the namespace is right in lib/api/api.rb, otherwise, we
might require Grape::API::Helpers which defines the `#params` method.
This is to avoid requiring a file multiple times and getting an "Already
initialized constant" error.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-05-10 11:51:19 +02:00
Anton Davydov
073c3d15c7
Initial implementation if license template selector and /licenses/:key API endpoint
2016-04-18 14:47:50 +02:00
Tomasz Maczukin
128be3c010
Add basic runners management API
...
- add feature to list runners
- add feature to show runners details
- add feature to delete runner
- add feature to update runner
2016-02-19 13:18:46 +01:00
Tomasz Maczukin
405b82af23
Merge branch 'master' into ci/api-builds
...
* master: (51 commits)
Fix version
Fix specs and rubocop warnings
Improve the consistency of commit titles, branch names, tag names, issue/MR titles, on their respective project pages
fixed LDAP activation on login to use new ldap_blocked state
Fix Admin/Users view to position buttons without spacing magic
Update to Go 1.5.3
Fix the undefinded variable error in Project's safe_import_url method
Update CHANGELOG [ci skip]
Add some cosmetic changes to variables API documentation [ci skip]
Fix misaligned edit button in milestone collection partial
Update button styles for Milestones#show
Modify builds API documentation style [ci skip]
Modify :ci_variable factory
Ensure the API doesn't return notes that the current user shouldn't see
Add 'Build' prefix to Variables entry name in API docs index
Fix some typos
Add spec for Note#cross_reference_not_visible_for?
Remove (invalid) timestamp formatting
Move `BroadcastMessage#status` to a helper since it's presentational
Update CHANGELOG
...
Conflicts:
doc/api/README.md
lib/api/api.rb
lib/api/entities.rb
2016-01-14 13:30:18 +01:00
Tomasz Maczukin
efb3395b4f
Remove blank line
2016-01-12 19:32:44 +01:00
Tomasz Maczukin
ab2c6cc01f
Add some fixes
2016-01-12 18:32:18 +01:00
Tomasz Maczukin
ea4777ff50
Add features for list and show details of variables in API
2015-12-31 16:26:54 +01:00
Tomasz Maczukin
f4e7a8893d
Add builds API (listing, showing trace)
2015-12-24 19:11:30 +01:00
Kamil Trzcinski
3d9ce37a48
Reimplement Trigger API
2015-12-11 18:02:09 +01:00
Dmitriy Zaporozhets
a5ab56fd91
Move git tags API to separate file
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-12 15:41:13 +01:00
Jason Lee
3d613fe1e8
Fix API::APIHelpers -> API::Helpers;
...
Rails Autoload find file to require is use , APIHelpers -> api_helpers.rb, not helpers.rb;
2015-10-23 11:42:57 +08:00
Kamil Trzcinski
914cfbd2f1
Implement Commit Status API
2015-10-12 11:53:49 +02:00
Artem V. Navrotskiy
8ec59bd18b
Add API method for get user by ID of an SSH key
2015-09-03 15:47:22 +03:00
Dmitriy Zaporozhets
c2ee6862c8
API to set application settings for admin
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-03 16:50:21 +02:00
jubianchi
79d0b69345
Send 500 errors as JSON in the API
2015-04-27 21:27:02 +02:00
Dmitriy Zaporozhets
e890582681
Rubocop enabled for: Use spaces inside hash literal braces
2015-02-02 20:36:54 -08:00
Valery Sizov
e41dadcb33
Doorkeeper integration
2014-12-24 15:38:07 +02:00
Dmitriy Zaporozhets
f6491508fe
Split group members api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-10-29 13:31:23 +02:00
Robert Schilling
9284038dbe
Add, delete labels via API
2014-08-13 12:28:19 +02:00
Dmitriy Zaporozhets
9b276f0003
Move branches api to separate class
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-31 16:31:53 +03:00
Dmitriy Zaporozhets
7c60713e82
Move project members api to separate file
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-17 13:44:54 +02:00
Dmitriy Zaporozhets
8686d09d3e
Merge branch 'feature/api_fle_encoded' into 'master'
...
Complete api files CRUD
Adds ability to read file from repository with content encoded with Base64.
2014-02-18 14:15:40 +00:00
Dmitriy Zaporozhets
6cf39fe10d
Extract commits API to separate file
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-18 12:41:21 +02:00
Dmitriy Zaporozhets
3c742dad27
Fixed bug with json files content being escaped in api
...
After update to recent grape env['api.format'] does not work any more.
Use content_type for rendering raw json files content
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-18 11:40:45 +02:00
Dmitriy Zaporozhets
0759dd4513
Namespaces API for admin users
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-15 15:24:10 +02:00
Dmitriy Zaporozhets
0b67606af6
New API: create file in repo
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-07 18:53:09 +02:00
Dmitriy Zaporozhets
d636ad49bf
API: set gitlab-ci service for project
2013-10-29 16:39:46 +02:00
Dmitriy Zaporozhets
439f399bec
Remove all team resources except models. Move models to deprecated directory
2013-06-18 21:22:34 +03:00
Dmitriy Zaporozhets
b05600f28b
Split Project api on several parts: deploy_keys, hooks, snippets etc
2013-06-06 12:37:51 +03:00
Dmitriy Zaporozhets
c3ba0ee64b
Merge branch 'feature_teams_api' of https://github.com/former03/gitlabhq into former03-feature_teams_api
...
Conflicts:
doc/api/README.md
2013-05-27 15:05:01 +03:00
Dmitriy Zaporozhets
068cf2f467
split repositories and projects api
2013-05-23 12:23:47 +03:00
Christian Simon
0ebfa5e5a2
[FEATURE] Basic user_teams api
...
* Closing #3066
* Closing #3609
2013-05-21 23:13:30 +02:00
Dmitriy Zaporozhets
634cbd7138
Refactor API classes. So api classes like Gitlab::Issues become API::Issues
2013-05-14 15:33:31 +03:00