Supported Formats
json
Examples
POST /api/v1/test/158/requests
&page_versions%5B%5D=295
200
{
"id": 8,
"is_closed": false,
"is_merged": false,
"index": 2,
"created_at": "2016-01-07T02:04:25.434Z",
"updated_at": "2016-01-07T02:04:25.434Z",
"is_wip": false,
"html_url": "http://www.example.com/test/test_note/requests/2",
"label": "request #2",
"to_note": {
"id": 153,
"is_private": false,
"slug": "test_note",
"title": "Test note",
"created_at": "2016-01-07T02:04:16.000Z",
"updated_at": "2016-01-07T02:04:25.487Z",
"format": "html",
"share": "none",
"is_time_track": true,
"name": "test_note",
"team": {
"id": 133,
"name": "test",
"is_default": true,
"created_at": "2016-01-07T02:04:11.000Z",
"updated_at": "2016-01-07T02:04:25.493Z",
"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:04:11.000Z",
"updated_at": "2016-01-07T02:04:20.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"
},
"from_note": {
"id": 158,
"user_id": 3,
"is_private": false,
"pulled_at": "2016-01-07T02:04:21.000Z",
"title": "Copy of Test note (test)",
"created_at": "2016-01-07T02:04:22.000Z",
"updated_at": "2016-01-07T02:04:25.442Z",
"format": "html",
"share": "none",
"is_time_track": true,
"forked": {
"id": 153,
"is_private": false,
"slug": "test_note",
"title": "Test note",
"created_at": "2016-01-07T02:04:16.000Z",
"updated_at": "2016-01-07T02:04:25.479Z",
"format": "html",
"share": "none",
"is_time_track": true,
"name": "test_note",
"team": {
"id": 133,
"name": "test",
"is_default": true,
"created_at": "2016-01-07T02:04:11.000Z",
"updated_at": "2016-01-07T02:04:25.485Z",
"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:04:11.000Z",
"updated_at": "2016-01-07T02:04:20.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": "158",
"team": {
"id": 133,
"name": "test",
"is_default": true,
"created_at": "2016-01-07T02:04:11.000Z",
"updated_at": "2016-01-07T02:04:25.477Z",
"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:04:11.000Z",
"updated_at": "2016-01-07T02:04:20.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/158",
"avatar_url": "http://www.example.com/test/158/avatar",
"can_pull": false,
"can_request": false,
"can_manage": true,
"description_html": "<p></p>",
"model": "note"
},
"user": {
"id": 3,
"username": "test",
"receive_email": true,
"created_at": "2016-01-07T02:04:11.000Z",
"updated_at": "2016-01-07T02:04:20.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"
},
"pages": [
{
"id": 295,
"created_at": "2016-01-07T02:04:24.000Z",
"note_id": 158,
"type": "create",
"path": "test / Copy of Test note (test) / Request page",
"diff": "<div class=\"diff\">\n <ul>\n <li class=\"ins\" data-labels=\"12693752438\"><ins><span class=\"symbol\">+</span>Request content</ins></li>\n </ul>\n</div>\n",
"merged": false
}
],
"attachments": [],
"active": true,
"can_open": true,
"status": "opened",
"model": "request"
}