Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method and Description |
---|---|
GpgKey |
UserApi.addGpgKey(Integer userId,
String key)
Add a GPG key for a specific user
GitLab Endpoint: POST /users/:id/gpg_keys |
GpgKey |
UserApi.addGpgKey(String key)
Add a GPG key for the current user
GitLab Endpoint: POST /user/gpg_keys |
Modifier and Type | Method and Description |
---|---|
List<GpgKey> |
UserApi.listGpgKeys()
Get all GPG keys for the current user.
|
List<GpgKey> |
UserApi.listGpgKeys(Integer userId)
Get all GPG keys for a given user.
|
Copyright © 2021. All rights reserved.