Skip to main content

Crate sandogasa_gitlab

Crate sandogasa_gitlab 

Source
Expand description

GitLab REST and GraphQL API client for issues and work items.

Structs§

Assignee
A GitLab user (assignee).
Client
Client for the GitLab REST API v4.
GroupClient
Client for group-level GitLab API queries.
GroupProject
A project name returned by the GitLab group projects API.
Issue
A GitLab issue.
IssueUpdate
Parameters for editing an issue.
MergeRequest
A GitLab merge request (minimal fields).

Functions§

list_group_projects
List all projects under a GitLab group (public, no auth needed).
package_from_issue_url
Extract the package name from a GitLab issue or work item web_url.
parse_issue_url
Parse a GitLab issue / work-item URL into its components.
parse_mr_url
Parse a merge request URL into its components.
parse_project_url
Parse a GitLab project URL into (base_url, project_path).
project_path_from_issue_url
Extract the project path from a GitLab issue or work item web_url.
validate_token
Check whether a token is valid by calling GET /api/v4/user.