Supported Formats

json

Examples

GET /api/v1/test/test_note/394/histories/1
200
{
  "id": 406,
  "created_at": "2016-01-07T02:05:26.000Z",
  "note_id": 212,
  "index": 1,
  "html_url": "http://www.example.com/test/test_note/394/histories/1",
  "page": {
    "id": 394,
    "title": "Edit 1",
    "created_at": "2016-01-07T02:05:21.000Z",
    "updated_at": "2016-01-07T02:05:26.000Z",
    "is_cover": false,
    "note": {
      "id": 212,
      "is_private": false,
      "slug": "test_note",
      "title": "Test note",
      "created_at": "2016-01-07T02:05:21.000Z",
      "updated_at": "2016-01-07T02:05:26.000Z",
      "format": "html",
      "share": "none",
      "is_time_track": true,
      "name": "test_note",
      "team": {
        "id": 183,
        "name": "test",
        "is_default": true,
        "created_at": "2016-01-07T02:05:16.000Z",
        "updated_at": "2016-01-07T02:05:26.000Z",
        "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:05:16.000Z",
            "updated_at": "2016-01-07T02:05:25.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/394",
    "content": "Edit 1",
    "path": "Edit 1",
    "children": [],
    "model": "page"
  },
  "title": "Test page",
  "content": "Test content",
  "diff": "<div class=\"diff\">\n  <ul>\n    <li class=\"ins\" data-labels=\"18806841084\"><ins><span class=\"symbol\">+</span>Test content</ins></li>\n  </ul>\n</div>\n",
  "label": "Version #1",
  "model": "page_version"
}