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
Léo-Paul Géneau
gitlab-ce
Commits
47dff5ed
Commit
47dff5ed
authored
Aug 23, 2019
by
Nourdin el Bacha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve grammar and correct syntax in curl example
parent
24ff249d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/api/README.md
doc/api/README.md
+2
-2
No files found.
doc/api/README.md
View file @
47dff5ed
...
...
@@ -396,7 +396,7 @@ GET /api/v4/projects/diaspora%2Fdiaspora
NOTE:
**Note:**
A project's
**path**
is not necessarily the same as its
**name**
. A
project's path can found in the project's URL or in the project's settings
project's path can
be
found in the project's URL or in the project's settings
under
**General > Advanced > Change path**
.
## Branches and tags name encoding
...
...
@@ -422,7 +422,7 @@ We can call the API with `array` and `hash` types parameters as shown below:
curl
--request
POST
--header
"PRIVATE-TOKEN: <your_access_token>"
\
-d
"import_sources[]=github"
\
-d
"import_sources[]=bitbucket"
\
"
https://gitlab.example.com/api/v4/some_endpoint
https://gitlab.example.com/api/v4/some_endpoint
```
### `hash`
...
...
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