GitLab API icon

GitLab API

Gitlab

Actions1062

Wikis → postApiV4GroupsIdWikisAttachments

AI-generated

Summary

Upload an attachment file to a specific GitLab group's wiki by providing the group ID and the file data.

Inputs

  • id (required) — The ID of the GitLab group to which the wiki attachment will be uploaded.

Output shape

a JSON object representing the uploaded attachment metadata as returned by the GitLab API.

The output contains details about the uploaded file such as its URL and filename. The operation requires authentication unless 'Skip Authentication' is set to true.

Examples

Example 1: Upload a file attachment to a group's wiki

Provide the group ID in the path parameters and include the attachment file in the request body according to the GitLab API specification.

Links

Discussion