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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
40a71a3e
Commit
40a71a3e
authored
Aug 27, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
2d50fa92
a58f4f00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/api/project_snippets.md
doc/api/project_snippets.md
+2
-2
No files found.
doc/api/project_snippets.md
View file @
40a71a3e
...
...
@@ -87,7 +87,7 @@ Example request:
curl
--request
POST https://gitlab.com/api/v4/projects/:id/snippets
\
--header
"PRIVATE-TOKEN: <your access token>"
\
--header
"Content-Type: application/json"
\
-d
@snippet.json
-d
@snippet.json
```
`snippet.json`
used in the above example request:
...
...
@@ -126,7 +126,7 @@ Example request:
curl
--request
PUT https://gitlab.com/api/v4/projects/:id/snippets
\
--header
"PRIVATE-TOKEN: <your_access_token>"
\
--header
"Content-Type: application/json"
\
-d
@snippet.json
-d
@snippet.json
```
`snippet.json`
used in the above example request:
...
...
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