|
|
# NAME
|
|
|
|
|
|
`GitLab::API` - lightweight GitLab API client.
|
|
|
Also implements **Session** API to obtain authentication token if needed.
|
|
|
Also implements **Session** API to obtain authentication token.
|
|
|
Other modules are needed for additional methods.
|
|
|
|
|
|
See [GitLab API](http://doc.gitlab.com/ce/api/) for details.
|
... | ... | @@ -87,6 +87,10 @@ while (my $project = $projects->next) { |
|
|
Returns the user whose authentication key is used for the request (or impersonated user if [`sudo`](#sudo) is in effect).
|
|
|
See [REQUEST METHODS](#request-methods) below.
|
|
|
|
|
|
- `version()`
|
|
|
|
|
|
Returns the current GitLab version and revision.
|
|
|
|
|
|
- `is_admin()`
|
|
|
|
|
|
```{.pl}
|
... | ... | |