diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 14:34:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 14:34:42 +0000 |
commit | 9f46488805e86b1bc341ea1620b866016c2ce5ed (patch) | |
tree | f9748c7e287041e37d6da49e0a29c9511dc34768 /doc/api/import.md | |
parent | dfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff) | |
download | gitlab-ce-9f46488805e86b1bc341ea1620b866016c2ce5ed.tar.gz |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'doc/api/import.md')
-rw-r--r-- | doc/api/import.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/import.md b/doc/api/import.md index 8db8dc7eea4..9640ba19cf9 100644 --- a/doc/api/import.md +++ b/doc/api/import.md @@ -12,8 +12,8 @@ POST /import/github |------------|---------|----------|---------------------| | `personal_access_token` | string | yes | GitHub personal access token | | `repo_id` | integer | yes | GitHub repository ID | -| `new_name` | string | no | New repo name | -| `target_namespace` | string | yes | Namespace to import repo into | +| `new_name` | string | no | New repository name | +| `target_namespace` | string | yes | Namespace to import repository into | ```shell curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --data "personal_access_token=abc123&repo_id=12345&target_namespace=root" https://gitlab.example.com/api/v4/import/github |