wikis
Upload an attachment to a group wiki
Uploads a file to the uploads directory in a specified group wiki.
post/api/v4/groups/{id}/wikis/attachments
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the group or project
Request body
Response
Upload an attachment to a group wiki
Example response
{
"file_name": "dk.png",
"file_path": "uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png",
"branch": "main",
"link": {
"url": "uploads/6a061c4cf9f1c28cb22c384b4b8d4e3c/dk.png",
"markdown": ""
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.