GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node integrates with the GitLab API, specifically supporting the operation to update the Apple App Store service settings for a project via a PUT request to the endpoint `/api/v4/projects/{id}/services/apple-app-store`. It is useful for automating the configuration of Apple App Store services within GitLab projects, such as updating credentials or settings programmatically.

Use Case Examples

  1. Automatically update Apple App Store service settings for a GitLab project when new credentials are issued.
  2. Integrate GitLab project service configuration into a CI/CD pipeline to ensure service settings are always up to date.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL for the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but PUT is used for this operation.
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 Apple App Store service settings for the specified project.

Dependencies

  • Requires GitLab API key credentials for authentication unless skipping authentication is enabled.

Troubleshooting

  • Ensure the project ID path parameter is correctly set and corresponds to an existing project in GitLab.
  • Verify that the API key used has sufficient permissions to update project service settings.
  • If skipping authentication, confirm the endpoint supports unauthenticated requests, otherwise the request will fail.
  • Common error messages include 401 Unauthorized (invalid or missing API key) and 404 Not Found (invalid project ID).

Links

Discussion