diff options
author | Camil Staps <info@camilstaps.nl> | 2019-02-02 20:48:27 +0100 |
---|---|---|
committer | Camil Staps <info@camilstaps.nl> | 2019-08-07 20:49:16 +0200 |
commit | e8bdcdf0f89d88463f6fb8a67e85f315e6a9097d (patch) | |
tree | fe89a0579e118fa688d6b08deedaba672737281e /doc | |
parent | 50f5f2e8aebf7ea3cdc9b2d133c9246925f749c4 (diff) | |
download | gitlab-ce-e8bdcdf0f89d88463f6fb8a67e85f315e6a9097d.tar.gz |
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.md | 34 |
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" + } ] ``` |