GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting operations such as posting markdown content to the GitLab API v4 markdown endpoint. It is useful for automating tasks related to GitLab, such as creating or rendering markdown content programmatically within workflows.

Use Case Examples

  1. Automatically post markdown content to GitLab for documentation or issue descriptions.
  2. Render markdown content using GitLab's API to preview or process markdown text.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making API requests.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which requests are sent, defaulting to https://gitlab.com.
Method The HTTP method to use for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Parameter Schema Defines the schema for the parameters sent in the request body for the postApiV4Markdown operation.
Request Body Schema Defines the schema for the request body for the postApiV4Markdown operation.
Request Path The API endpoint path for the postApiV4Markdown operation, fixed to /api/v4/markdown.

Output

JSON

  • response - The JSON response from the GitLab API after posting markdown content.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the GitLab API credential is correctly configured and has the necessary permissions to post markdown content.
  • Verify the baseUrl is correct and accessible, especially if using a self-hosted GitLab instance.
  • Check that the request body conforms to the expected schema for the /api/v4/markdown endpoint to avoid validation errors.

Links

Discussion