summaryrefslogtreecommitdiff
path: root/doc/api/project_snippets.md
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-08-02 13:37:04 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2016-08-24 10:32:31 -0400
commite43c4060b67c1996b917bc00afa72122d1d00004 (patch)
treee9d170a12995b3ce7f330908d12995fd3f830b01 /doc/api/project_snippets.md
parent9b470aebb993d7a5745f0e9fc17b207fe46b16fe (diff)
downloadgitlab-ce-e43c4060b67c1996b917bc00afa72122d1d00004.tar.gz
api: expose web_url for project entities
This allows web hooks to have a URL back to entities without having to generate it themselves.
Diffstat (limited to 'doc/api/project_snippets.md')
-rw-r--r--doc/api/project_snippets.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/project_snippets.md b/doc/api/project_snippets.md
index a7acf37b5bc..c6685f54a9d 100644
--- a/doc/api/project_snippets.md
+++ b/doc/api/project_snippets.md
@@ -53,7 +53,8 @@ Parameters:
},
"expires_at": null,
"updated_at": "2012-06-28T10:52:04Z",
- "created_at": "2012-06-28T10:52:04Z"
+ "created_at": "2012-06-28T10:52:04Z",
+ "web_url": "http://example.com/example/example/snippets/1"
}
```