GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows updating the Phorge service integration settings for a specific GitLab project by sending a PUT request to the GitLab API endpoint `/api/v4/projects/{id}/services/phorge`. It is useful for automating the configuration of Phorge integration within GitLab projects, such as enabling or modifying service parameters programmatically.

Use Case Examples

  1. Automatically update Phorge integration settings for multiple projects in a CI/CD pipeline.
  2. Modify Phorge service parameters based on project-specific conditions without manual intervention.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but for this operation it is PUT.
Path Parameters Parameters to be included in the request path, specifically the project ID for this operation.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Phorge service integration settings.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key used for authentication has sufficient permissions to update project service integrations.
  • Check the base URL to confirm it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • If skipping authentication, ensure the endpoint is accessible without authentication, which is uncommon for this API.

Links

Discussion