diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-28 21:08:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-28 21:08:39 +0300 |
commit | e4632f4c63eae7ec36243d11b23d69b4fd880830 (patch) | |
tree | 3a8861404c8bab446f55f2f3bf523365176a8f9c /doc/api/import.md | |
parent | 59469a17821eda8a34d08b1e46584e902d1e963a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/import.md')
-rw-r--r-- | doc/api/import.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/import.md b/doc/api/import.md index e1585d02ae3..d556c8af971 100644 --- a/doc/api/import.md +++ b/doc/api/import.md @@ -20,7 +20,7 @@ POST /import/github | `repo_id` | integer | yes | GitHub repository ID | | `new_name` | string | no | New repository name | | `target_namespace` | string | yes | Namespace to import repository into. Supports subgroups like `/namespace/subgroup`. | -| `github_hostname` | string | no | Custom GitHub enterprise hostname. Defaults to GitHub.com if `github_hostname` is not set. | +| `github_hostname` | string | no | Custom GitHub Enterprise hostname. Do not set for GitHub.com. | ```shell curl --request POST \ @@ -31,7 +31,8 @@ curl --request POST \ "personal_access_token": "aBc123abC12aBc123abC12abC123+_A/c123", "repo_id": "12345", "target_namespace": "group/subgroup", - "new_name": "NEW-NAME" + "new_name": "NEW-NAME", + "github_hostname": "https://github.example.com" }' ``` |