Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2019-04-19 12:04:25 +0300
committerDouwe Maan <douwe@gitlab.com>2019-04-19 12:04:25 +0300
commit6376f78445300ee42c5a181f63e5b332d8266b0a (patch)
tree1d5716ab2080458920b39cadacc1926cd3db52c1 /doc/api/projects.md
parent604cfb17a79b203dca7a2c56e84b58f8e819effd (diff)
parent1dd4a007804fa0e6ea00a00805d08808f6c0be3a (diff)
Merge branch '39858-add-group-owned-info-to-projects-api' into 'master'
Return group information on Project endpoint Closes #39858 See merge request gitlab-org/gitlab-ce!27427
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r--doc/api/projects.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 0a950352ecf..951961e45ff 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -494,7 +494,9 @@ GET /projects/:id
"name": "Diaspora",
"path": "diaspora",
"kind": "group",
- "full_path": "diaspora"
+ "full_path": "diaspora",
+ "avatar_url": "http://localhost:3000/uploads/group/avatar/3/foo.jpg",
+ "web_url": "http://localhost:3000/groups/diaspora"
},
"import_status": "none",
"import_error": null,
@@ -561,6 +563,8 @@ GET /projects/:id
}
```
+**Note**: The `web_url` and `avatar_url` attributes on `namespace` were [introduced][ce-27427] in GitLab 11.11.
+
If the project is a fork, and you provide a valid token to authenticate, the
`forked_from_project` field will appear in the response.
@@ -1587,3 +1591,4 @@ GET /projects/:id/snapshot
[eep]: https://about.gitlab.com/pricing/ "Available only in GitLab Premium"
[ee-6137]: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6137
+[ce-27427]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27427