Supported Formats

json

Examples

GET /api/v1/test/test_note/374/histories
200
[
  {
    "id": 385,
    "created_at": "2016-01-07T02:05:15.000Z",
    "note_id": 201,
    "index": 1,
    "html_url": "http://www.example.com/test/test_note/374/histories/1",
    "page": {
      "id": 374,
      "title": "Edit 1",
      "created_at": "2016-01-07T02:05:11.000Z",
      "updated_at": "2016-01-07T02:05:15.000Z",
      "is_cover": false,
      "note": {
        "id": 201,
        "is_private": false,
        "slug": "test_note",
        "title": "Test note",
        "created_at": "2016-01-07T02:05:10.000Z",
        "updated_at": "2016-01-07T02:05:15.000Z",
        "format": "html",
        "share": "none",
        "is_time_track": true,
        "name": "test_note",
        "team": {
          "id": 173,
          "name": "test",
          "is_default": true,
          "created_at": "2016-01-07T02:05:05.000Z",
          "updated_at": "2016-01-07T02:05:15.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:05.000Z",
              "updated_at": "2016-01-07T02:05:14.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/374",
      "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"
  }
]