GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates a specific wiki page within a GitLab group using the GitLab API. It is useful for automating the management of group wikis, such as editing or replacing wiki content programmatically. For example, it can be used to update documentation or project notes stored in a group's wiki without manual intervention.

Use Case Examples

  1. Updating a wiki page in a GitLab group to reflect new project information.
  2. Automating the correction of typos or outdated content in group wikis.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the request, here it is set to PUT for updating resources.
Path Parameters Parameters used in the API path to identify the specific group and wiki page to update.

Output

JSON

  • id - The unique identifier of the updated wiki page.
  • title - The title of the updated wiki page.
  • content - The content of the updated wiki page.
  • format - The format of the wiki content (e.g., markdown).
  • slug - The slug of the updated wiki page.
  • created_at - Timestamp when the wiki page was created.
  • updated_at - Timestamp when the wiki page was last updated.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the group ID and wiki slug are correct and exist in the GitLab instance.
  • Verify that the API authentication token has sufficient permissions to update group wikis.
  • Check the base URL to confirm it points to the correct GitLab instance.
  • Common error: 404 Not Found - The specified group or wiki page does not exist.
  • Common error: 401 Unauthorized - Authentication failed or token lacks required scopes.

Links

Discussion