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
e92b8219
Commit
e92b8219
authored
Aug 29, 2019
by
Thomas Randolph
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove spaces from lines failing lint
parent
13627ca9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/api/notes.md
doc/api/notes.md
+6
-6
No files found.
doc/api/notes.md
View file @
e92b8219
...
...
@@ -113,7 +113,7 @@ Parameters:
-
`id`
(required) - The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
-
`issue_iid`
(required) - The IID of an issue
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`created_at`
(optional) - Date time string, ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z (requires admin or project/group owner rights)
```
bash
...
...
@@ -133,7 +133,7 @@ Parameters:
-
`id`
(required) - The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
-
`issue_iid`
(required) - The IID of an issue
-
`note_id`
(required) - The ID of a note
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
```
bash
curl
--request
PUT
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/projects/5/issues/11/notes?body
=
note
...
...
@@ -231,7 +231,7 @@ Parameters:
-
`id`
(required) - The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
-
`snippet_id`
(required) - The ID of a snippet
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`created_at`
(optional) - Date time string, ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z
```
bash
...
...
@@ -251,7 +251,7 @@ Parameters:
-
`id`
(required) - The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
-
`snippet_id`
(required) - The ID of a snippet
-
`note_id`
(required) - The ID of a note
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
```
bash
curl
--request
PUT
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/projects/5/snippets/11/notes?body
=
note
...
...
@@ -354,7 +354,7 @@ Parameters:
-
`id`
(required) - The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
-
`merge_request_iid`
(required) - The IID of a merge request
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`created_at`
(optional) - Date time string, ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z
### Modify existing merge request note
...
...
@@ -370,7 +370,7 @@ Parameters:
-
`id`
(required) - The ID or
[
URL-encoded path of the project
](
README.md#namespaced-path-encoding
)
-
`merge_request_iid`
(required) - The IID of a merge request
-
`note_id`
(required) - The ID of a note
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
-
`body`
(required) - The content of a note. Limited to 1 000 000 characters.
```
bash
curl
--request
PUT
--header
"PRIVATE-TOKEN: <your_access_token>"
https://gitlab.example.com/api/v4/projects/5/merge_requests/11/notes?body
=
note
...
...
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