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
3b0479bf
Commit
3b0479bf
authored
Aug 27, 2019
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing whitespace from project snippets API docs
Closes
https://gitlab.com/gitlab-org/gitlab-ce/issues/66677
parent
4738ef64
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 @
3b0479bf
...
@@ -87,7 +87,7 @@ Example request:
...
@@ -87,7 +87,7 @@ Example request:
curl
--request
POST https://gitlab.com/api/v4/projects/:id/snippets
\
curl
--request
POST https://gitlab.com/api/v4/projects/:id/snippets
\
--header
"PRIVATE-TOKEN: <your access token>"
\
--header
"PRIVATE-TOKEN: <your access token>"
\
--header
"Content-Type: application/json"
\
--header
"Content-Type: application/json"
\
-d
@snippet.json
-d
@snippet.json
```
```
`snippet.json`
used in the above example request:
`snippet.json`
used in the above example request:
...
@@ -126,7 +126,7 @@ Example request:
...
@@ -126,7 +126,7 @@ Example request:
curl
--request
PUT https://gitlab.com/api/v4/projects/:id/snippets
\
curl
--request
PUT https://gitlab.com/api/v4/projects/:id/snippets
\
--header
"PRIVATE-TOKEN: <your_access_token>"
\
--header
"PRIVATE-TOKEN: <your_access_token>"
\
--header
"Content-Type: application/json"
\
--header
"Content-Type: application/json"
\
-d
@snippet.json
-d
@snippet.json
```
```
`snippet.json`
used in the above example request:
`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