GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdSnapshot

AI-generated

Summary

Send an HTTP request to GitLab's API v4 to retrieve a project snapshot at the specified project ID, optionally including the wiki repository snapshot.

Inputs

  • id (required) — The integer ID of the GitLab project to retrieve the snapshot for (path parameter).
  • wiki — Set to true to include the wiki repository snapshot in the response (query parameter).
  • method — The HTTP method to use for the request; defaults to GET but supports GET, POST, PUT, DELETE, HEAD, or PATCH.
  • baseUrl — Override the base URL for the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — If set to true, skip using authentication credentials for the request.

Output shape

a JSON object containing the project snapshot data as returned from the GitLab API endpoint /api/v4/projects/{id}/snapshot.

The output JSON includes the project snapshot details, potentially with wiki repository info if the 'wiki' query parameter is set to true. Authentication is used by default unless explicitly skipped.

Links

Discussion