Module common

Source
Expand description

API types common to many endpoints.

Usually these are enumerations or other simple wrappers around structures present in GitLab’s REST API.

Structs§

CommaSeparatedList
A comma-separated list of values.

Enums§

AccessLevel
Access levels for groups and projects.
EnableState
States for features or flags.
NameOrId
A structure for storing a name or ID where either is allowed.
ProtectedAccessLevel
Access levels for protected branches and tags.
ProtectedAccessLevelWithAccess
Access levels for protected branches and tags.
SortOrder
Orderings for sorted results.
VisibilityLevel
Visibility levels of projects.
YesNo
A yes or no.

Functions§

directory_path_escaped
Escape a string for usage as a directory path component.
path_escaped
Escape a string for usage as a single URL path component.