PUT /api/v1/test/495
note%5Bteam%5D=test¬e%5Btitle%5D=Test+note
200
{
"id": 495,
"user_id": 3,
"is_private": false,
"pulled_at": "2016-01-07T02:09:46.000Z",
"title": "Test note",
"created_at": "2016-01-07T02:09:48.000Z",
"updated_at": "2016-01-07T02:09:48.581Z",
"format": "html",
"share": "none",
"is_time_track": true,
"forked": {
"id": 490,
"is_private": false,
"slug": "test_note",
"title": "Test note",
"created_at": "2016-01-07T02:09:41.000Z",
"updated_at": "2016-01-07T02:09:48.848Z",
"format": "html",
"share": "none",
"is_time_track": true,
"name": "test_note",
"team": {
"id": 433,
"name": "test",
"is_default": true,
"created_at": "2016-01-07T02:09:35.000Z",
"updated_at": "2016-01-07T02:09:48.850Z",
"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:09:35.000Z",
"updated_at": "2016-01-07T02:09:45.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"
},
"name": "495",
"team": {
"id": 433,
"name": "test",
"is_default": true,
"created_at": "2016-01-07T02:09:35.000Z",
"updated_at": "2016-01-07T02:09:48.847Z",
"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:09:35.000Z",
"updated_at": "2016-01-07T02:09:45.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/495",
"avatar_url": "http://www.example.com/test/495/avatar",
"can_pull": false,
"can_request": false,
"can_manage": true,
"description_html": "<p></p>",
"model": "note"
}
| Param name | Description |
|---|---|
|
note optional |
Value: Must be a Hash |
|
note[title] required |
Value: Must be String |
|
note[description] optional |
Value: Must be String |
|
note[team] required |
Team name Value: Must be String |
|
note[slug] optional |
Value: Must be String |
|
note[is_private] optional |
Value: Must be one of: true, false. |