PUT /api/v1/test/test_note/issues/1 issue%5Btitle%5D=Edited+issue&issue%5Bto_user%5D=test 200 { "id": 11, "title": "Edited issue", "is_done": false, "index": 1, "created_at": "2016-01-07T02:11:17.000Z", "updated_at": "2016-01-07T02:11:18.078Z", "position": 1, "rate": 0, "to_user": { "id": 3, "username": "test", "receive_email": true, "created_at": "2016-01-07T02:11:09.000Z", "updated_at": "2016-01-07T02:11:18.084Z", "keyboard_shortcuts": false, "options": { "advanced_menu": true }, "html_url": "http://www.example.com/test", "avatar_url": "http://www.example.com/test/avatar", "lang": { "code": "en", "model": "lang" }, "name": "test", "model": "user" }, "from_user": { "id": 3, "username": "test", "receive_email": true, "created_at": "2016-01-07T02:11:09.000Z", "updated_at": "2016-01-07T02:11:18.000Z", "keyboard_shortcuts": false, "options": { "advanced_menu": true }, "html_url": "http://www.example.com/test", "avatar_url": "http://www.example.com/test/avatar", "lang": { "code": "en", "model": "lang" }, "name": "test", "model": "user" }, "note": { "id": 590, "is_private": false, "slug": "test_note", "title": "Test note", "created_at": "2016-01-07T02:11:13.000Z", "updated_at": "2016-01-07T02:11:18.085Z", "format": "html", "share": "none", "is_time_track": true, "name": "test_note", "team": { "id": 523, "name": "test", "is_default": true, "created_at": "2016-01-07T02:11:09.000Z", "updated_at": "2016-01-07T02:11:18.090Z", "html_url": "http://www.example.com/test", "avatar_url": "http://www.example.com/test/avatar", "role": "manager", "managers": [ { "id": 3, "username": "test", "receive_email": true, "created_at": "2016-01-07T02:11:09.000Z", "updated_at": "2016-01-07T02:11:18.000Z", "keyboard_shortcuts": false, "options": { "advanced_menu": true }, "html_url": "http://www.example.com/test", "avatar_url": "http://www.example.com/test/avatar", "lang": { "code": "en", "model": "lang" }, "name": "test", "model": "user" } ], "members": [], "plan": "micro", "model": "team" }, "html_url": "http://www.example.com/test/test_note", "avatar_url": "http://www.example.com/test/test_note/avatar", "can_pull": false, "can_request": false, "can_manage": true, "description_html": "<p></p>", "model": "note" }, "label": "Issue #1 Edited issue", "html_url": "http://www.example.com/test/test_note/issues/1", "can_manage": true, "tags": [], "description_html": "<p></p>", "model": "issue" }
Param name | Description |
---|---|
issue optional |
Value: Must be a Hash |
issue[title] required |
Value: Must be String |
issue[description] optional |
Value: Must be String |
issue[to_user] optional |
Username Value: Must be String |