GitLab API

GitlabTool

Actions1000

Overview

This node operation interacts with the GitLab API to retrieve storage information for a specific project by its ID. It is useful for scenarios where you need to access or manage project storage details programmatically, such as monitoring storage usage or integrating storage data into other workflows.

Use Case Examples

  1. Retrieve storage details of a GitLab project by providing the project ID.
  2. Automate storage monitoring for multiple projects by iterating over project IDs and calling this operation.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API requests are sent, default is https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Path Parameters Parameters to be included in the request path, specifically the project ID in this operation.

Output

JSON

  • id - The ID of the project whose storage information is retrieved
  • storage - Details about the project's storage usage and limits

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and accessible with the authenticated user.
  • Verify that the baseUrl is correctly set to the GitLab instance you intend to query.
  • If skipping authentication, confirm that the endpoint supports unauthenticated access, otherwise authentication errors will occur.
  • Check that the HTTP method is set to GET as this operation is designed to retrieve data; other methods may not be supported.

Links

Discussion