Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8a1af9f0
Commit
8a1af9f0
authored
Apr 23, 2018
by
James Ramsay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor typos
parent
d7547eea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/api/project_import_export.md
doc/api/project_import_export.md
+4
-4
No files found.
doc/api/project_import_export.md
View file @
8a1af9f0
...
...
@@ -112,13 +112,13 @@ POST /projects/import
|
`file`
| string | yes | The file to be uploaded |
|
`path`
| string | yes | Name and path for new project |
|
`overwrite`
| boolean | no | If there is a project with the same path the import will overwrite it. Default to false |
|
`override_params`
| Hash | no | Supports all fields defined in the
[
Project API
](
projects.md
)
]
|
|
`override_params`
| Hash | no | Supports all fields defined in the
[
Project API
](
projects.md
)
|
The override params passed will take prece
n
dence over all values defined inside the export file.
The override params passed will take precedence over all values defined inside the export file.
To upload a file from your filesystem, use the
`--form`
argument. This causes
To upload a file from your file
system, use the
`--form`
argument. This causes
cURL to post data using the header
`Content-Type: multipart/form-data`
.
The
`file=`
parameter must point to a file on your filesystem and be preceded
The
`file=`
parameter must point to a file on your file
system and be preceded
by
`@`
. For example:
```
console
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment