Merge branch 'patch-1' into 'master'
Made it clearer that issue_id means iid, not id. See merge request !4030
This commit is contained in:
commit
450ea01d31
1 changed files with 5 additions and 5 deletions
|
@ -15,7 +15,7 @@ GET /projects/:id/issues/:issue_id/notes
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
- `id` (required) - The ID of a project
|
- `id` (required) - The ID of a project
|
||||||
- `issue_id` (required) - The ID of an issue
|
- `issue_id` (required) - The IID of an issue (not ID)
|
||||||
|
|
||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
|
@ -73,7 +73,7 @@ GET /projects/:id/issues/:issue_id/notes/:note_id
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
- `id` (required) - The ID of a project
|
- `id` (required) - The ID of a project
|
||||||
- `issue_id` (required) - The ID of a project issue
|
- `issue_id` (required) - The IID of a project issue (not ID)
|
||||||
- `note_id` (required) - The ID of an issue note
|
- `note_id` (required) - The ID of an issue note
|
||||||
|
|
||||||
### Create new issue note
|
### Create new issue note
|
||||||
|
@ -87,7 +87,7 @@ POST /projects/:id/issues/:issue_id/notes
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
- `id` (required) - The ID of a project
|
- `id` (required) - The ID of a project
|
||||||
- `issue_id` (required) - The ID of an issue
|
- `issue_id` (required) - The IID of an issue (not ID)
|
||||||
- `body` (required) - The content of a note
|
- `body` (required) - The content of a note
|
||||||
- `created_at` (optional) - Date time string, ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z
|
- `created_at` (optional) - Date time string, ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ PUT /projects/:id/issues/:issue_id/notes/:note_id
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
- `id` (required) - The ID of a project
|
- `id` (required) - The ID of a project
|
||||||
- `issue_id` (required) - The ID of an issue
|
- `issue_id` (required) - The IID of an issue (not ID)
|
||||||
- `note_id` (required) - The ID of a note
|
- `note_id` (required) - The ID of a note
|
||||||
- `body` (required) - The content of a note
|
- `body` (required) - The content of a note
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ Parameters:
|
||||||
| Attribute | Type | Required | Description |
|
| Attribute | Type | Required | Description |
|
||||||
| --------- | ---- | -------- | ----------- |
|
| --------- | ---- | -------- | ----------- |
|
||||||
| `id` | integer | yes | The ID of a project |
|
| `id` | integer | yes | The ID of a project |
|
||||||
| `issue_id` | integer | yes | The ID of an issue |
|
| `issue_id` | integer | yes | The IID of an issue |
|
||||||
| `note_id` | integer | yes | The ID of a note |
|
| `note_id` | integer | yes | The ID of a note |
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue