PUT /api/v1/test/test_note/133 page%5Bcontent%5D=Edited+content&page%5Btitle%5D=Edited+page 200 { "id": 133, "title": "Edited page", "created_at": "2016-01-07T02:02:53.000Z", "updated_at": "2016-01-07T02:02:57.744Z", "is_cover": false, "note": { "id": 73, "is_private": false, "slug": "test_note", "title": "Test note", "created_at": "2016-01-07T02:02:53.000Z", "updated_at": "2016-01-07T02:02:58.052Z", "format": "html", "share": "none", "is_time_track": true, "name": "test_note", "team": { "id": 63, "name": "test", "is_default": true, "created_at": "2016-01-07T02:02:49.000Z", "updated_at": "2016-01-07T02:02:58.053Z", "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:02:49.000Z", "updated_at": "2016-01-07T02:02:56.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" }, "html_url": "http://www.example.com/test/test_note/133", "content": "Edited content", "path": "Edited page", "children": [], "model": "page" }
Param name | Description |
---|---|
page required |
Value: Must be a Hash |
page[title] optional |
Value: Must be String |
page[content] optional |
Value: Must be String |
page[parent] optional , nil allowed |
Value: Must be a number. |