gitlab api pro icon

gitlab api pro

Extended GitLab node

Merge Request → Get Note

AI-generated

Summary

Retrieve a specific note by its ID from a merge request within a GitLab project.

Inputs

  • Authentication — Select whether to use saved credentials or custom fields for authentication (optional, default: Credential).
  • GitLab Server — Base URL of the GitLab instance, shown only when using custom authentication (optional, default: https://gitlab.com).
  • Access Token — Personal access token with API permissions, shown only when using custom authentication (optional).
  • Project Locator — Choose how to identify the project: by numeric ID or by path (default: id).
  • Project ID — Numeric project ID, used when Project Locator is set to ID (optional).
  • Project Owner — Namespace or owner of the project, used when Project Locator is set to Path (optional).
  • Project Name — Project slug or name, used when Project Locator is set to Path (optional).
  • Merge Request IID (required) — Internal ID (IID) of the merge request from which to get the note (must be positive).
  • Note ID (required) — ID of the note to retrieve (must be positive).

Output shape

a single JSON object representing the requested note

Returns the data of the specified note in the merge request as JSON. Requires valid project identification, merge request IID, and note ID. Authentication is required either via saved credentials or custom token.

Examples

Example 1: Get a specific note from a merge request by its internal IDs

Provide the project (by ID or path), merge request IID, and note ID to fetch its details.

Links

Discussion