diff options
author | Hannes Rosenögger <123haynes@gmail.com> | 2015-04-03 13:18:55 +0000 |
---|---|---|
committer | Hannes Rosenögger <123haynes@gmail.com> | 2015-04-03 13:18:55 +0000 |
commit | 965b92a725e5570e09bdd4609d4ddd896fddcbab (patch) | |
tree | 4ba68ed5a8ab3eb7e817f8bf4a78a22e6ffc833e /CHANGELOG | |
parent | 9157985cfce1391973673ea278dc7506a90f8f53 (diff) | |
parent | f04549056806d2bcb63441ebdffe1032711e83c8 (diff) | |
download | gitlab-ce-965b92a725e5570e09bdd4609d4ddd896fddcbab.tar.gz |
Merge branch 'feature_expose_project_labels' into 'master'
Exposing Project Labels in the REST API
The intent here is to expose the tag_list property of the Project entity over the REST API so that any project searches include the information. The specific reason I've implemented this change is for an environment in which multiple gitlab servers exist, where a central portal to the projects that are spread around the network will be useful. Having access to filtering on this fairly large project list based on their labels, will be of great use.
This satisfies the feature request http://feedback.gitlab.com/forums/176466-general/suggestions/6325819-project-labels-via-api
The change was made in the `lib/api/entities.rb` file.
The output of a `GET` to something like `/projects` or `/projects/7` is now:
```javascript
{
"id": 7,
"description": "Veritatis est eaque voluptas magni expedita.",
"default_branch": "master",
**"tag_list": [
"typeahead",
"twitter"
],**
"public": false,
"archived": false,
"visibility_level": 0,
...
}
```
See merge request !329
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 1934d03634a..7fdd7e38a93 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -58,6 +58,7 @@ v 7.10.0 (unreleased) - Fix "Hello @username." references not working by no longer allowing usernames to end in period. - Archive repositories in background worker. - Import GitHub, Bitbucket or GitLab.com projects owned by authenticated user into current namespace. + - Project labels are now available over the API under the "tag_list" field (Cristian Medina) v 7.9.2 |