summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-28 15:09:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-28 15:09:13 +0000
commit736d36d8597d0d1ec1b47644e6d091c3f4a78f45 (patch)
treea38f6fef2b7147416b31f8294a9389b3bb472c87 /doc/api
parent5426ca9908085087d465fa52800335f408eb965a (diff)
downloadgitlab-ce-736d36d8597d0d1ec1b47644e6d091c3f4a78f45.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 905eb01b0ad..c2154233cc5 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -1836,11 +1836,12 @@ Returned object:
{
"alt": "dk",
"url": "/uploads/66dbcd21ec5d24ed6ea225176098d52b/dk.png",
+ "full_path": "/namespace1/project1/uploads/66dbcd21ec5d24ed6ea225176098d52b/dk.png",
"markdown": "![dk](/uploads/66dbcd21ec5d24ed6ea225176098d52b/dk.png)"
}
```
->**Note**: The returned `url` is relative to the project path.
+>**Note**: The returned `url` is relative to the project path. The returned `full_path` is the absolute path to the file.
In Markdown contexts, the link is automatically expanded when the format in
`markdown` is used.