GitLab API

GitlabTool

Actions1095

Project_avatar → getApiV4ProjectsIdAvatar

AI-generated

Summary

Retrieve the avatar image of a GitLab project by specifying the project's ID or URL-encoded path.

Inputs

  • id (required) — ID or URL-encoded path of the GitLab project whose avatar to fetch.

Output shape

a binary image file representing the avatar of the specified project

The operation uses a GET request to the endpoint /api/v4/projects/{id}/avatar and returns the raw avatar image data. Authentication is required unless 'Skip Authentication' is enabled. The base URL defaults to https://gitlab.com but can be overridden.

Links

Discussion