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
path: root/doc
diff options
context:
space:
mode:
authorCamil Staps <info@camilstaps.nl>2019-02-02 22:48:27 +0300
committerCamil Staps <info@camilstaps.nl>2019-08-07 21:49:16 +0300
commite8bdcdf0f89d88463f6fb8a67e85f315e6a9097d (patch)
treefe89a0579e118fa688d6b08deedaba672737281e /doc
parent50f5f2e8aebf7ea3cdc9b2d133c9246925f749c4 (diff)
Expose time since starring on project/:id/starrers API endpoint; exclude private profiles here as well
Diffstat (limited to 'doc')
-rw-r--r--doc/api/projects.md34
1 files changed, 20 insertions, 14 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index a9c7f2c66e0..1ce9912027c 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -1358,21 +1358,27 @@ Example responses:
```json
[
{
- "id": 1,
- "username": "jane_smith",
- "name": "Jane Smith",
- "state": "active",
- "avatar_url": "http://localhost:3000/uploads/user/avatar/1/cd8.jpeg",
- "web_url": "http://localhost:3000/jane_smith"
+ "starred_since": "2019-01-28T14:47:30.642Z",
+ "user":
+ {
+ "id": 1,
+ "username": "jane_smith",
+ "name": "Jane Smith",
+ "state": "active",
+ "avatar_url": "http://localhost:3000/uploads/user/avatar/1/cd8.jpeg",
+ "web_url": "http://localhost:3000/jane_smith"
+ }
},
- {
- "id": 2,
- "username": "janine_smith",
- "name": "Janine Smith",
- "state": "blocked",
- "avatar_url": "http://gravatar.com/../e32131cd8.jpeg",
- "web_url": "http://localhost:3000/janine_smith"
- }
+ "starred_since": "2018-01-02T11:40:26.570Z",
+ "user":
+ {
+ "id": 2,
+ "username": "janine_smith",
+ "name": "Janine Smith",
+ "state": "blocked",
+ "avatar_url": "http://gravatar.com/../e32131cd8.jpeg",
+ "web_url": "http://localhost:3000/janine_smith"
+ }
]
```