changesets リソース

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

Bitbucket Cloud v1 APIs are deprecated

Bitbucket Cloud REST API version 1 is deprecated effective 30 June 2018. All 1.0 APIs will be removed from the REST API permanently on 31 December 2018. Read the deprecation notice. Or you can jump right to the version 2.0 REST API documentation.

概要

リポジトリのチェンジセットに関するリソースを管理するには、changesets リソースを使用します。これらのリソースに対する未認証の呼び出しは、公開リポジトリの値のみを返します。非公開リポジトリの changesets リソースを表示するには、呼び出し元が認証済みで、リポジトリで少なくとも読み取り権限を持っている必要があります。changesets は読み取り専用リソースのため、チェンジセット構造を追加/変更することはできません。個別のチェンジセット ノードに関連付けられたコメントなどのセカンダリ リソースは変更することができます。

個別のチェンジセット構造には次の情報が含まれます。

フィールド 説明
node チェンジセットの一意の ID - SHA コードの省略形。
files チェンジセットに含まれるファイルの配列。
raw_author ローカルに定義され、Bitbucket サービスに渡されるコミットに含まれるユーザー名。
utctimestamp 変更に適用されたユニバーサル タイム スタンプ。
timestamp コミットが発生したローカル コンピューターで提供された時間。
author チェンジセットと関連付けられた Bitbucket アカウント。
raw_node 40 文字のチェンジセット ハッシュ- 省略されていない SHA 値。
parents チェンジセットがコミットされる前に変更が保存されていたローカル ディレクトリ。ユーザーがファイルを追加した場合、それ以前のコミットはないため、そのファイルには親はありません。
branch 変更が格納されているブランチの名前。ブランチ名は null にすることができます。Git リポジトリの場合、一般的に null となります。
message コミット メッセージ。
revision コミットに割り当てられた整数。このフィールドは Mercurial リポジトリ専用です。値自体は、特定のローカル リポジトリ内でのみ有効な整数です。
size このフィールドは予約されており、常に -1 が含まれています。

チェンジセットのリストを取得する

リポジトリと関連付けられたチェンジセットのリストを取得します。既定では、この呼び出しは最新 15 のチェンジセットを返します。また、count (リポジトリ上のチェンジセットの合計数) を返します。非公開のリポジトリでは、呼び出し元が認証を行う必要があります。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須かどうか 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
limit はい チェンジセットをの返却数を表す整数。0 から 50 の間で制限を指定できます。0 (ゼロ) を指定した場合、システムは count を返しますが、残りのフィールドには空の値を返します。
start はい 開始する一番最初のノードを表すハッシュ値。システムは指定されたノードで開始し、それに先行する古いリクエストを含みます。Bitbucket の GUI の [コミット] タブでノードの一覧を確認できます。既定の start 値を参考にします。
GET https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets?limit=integer?start=node
ここをクリックして展開...
{
    "count": 2,
    "start": null,
    "limit": 15,
    "changesets": [
        {
            "node": "712e4a5e776f",
            "files": [
                {
                    "type": "added",
                    "file": "Readme"
                }
            ],
            "raw_author": "Your Name <manthony@bitbucket.org>",
            "utctimestamp": "2012-07-19 22:36:00+00:00",
            "author": "tutorials",
            "timestamp": "2012-07-20 00:36:00",
            "node": "712e4a5e776fbb4c7f0660a5fd8c2f152e787d90",
            "parents": [],
            "branch": "master",
            "message": "adding readme\n",
            "revision": null,
            "size": -1
        },
        {
            "node": "3614c41024c8",
            "files": [
                {
                    "type": "added",
                    "file": "garbagefile.txt"
}
            ],
            "raw_author": "Your Name <manthony@bitbucket.org>",
            "utctimestamp": "2012-07-19 22:36:47+00:00",
            "author": "tutorials",
            "timestamp": "2012-07-20 00:36:47",
            "node": "3614c41024c8a09293787c1190808016226f2598",
            "parents": [
                "712e4a5e776f"
            ],
            "branch": "foobar",
            "message": "adding garbage\n",
            "revision": null,
            "size": -1
        }
    ]
}

個別チェンジセットを取得する

特定の node チェンジセットを取得します。非公開のリポジトリでは、呼び出し元が認証を行う必要があります。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須かどうか 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
node
はい node チェンジセットの識別子。
GET https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets/{node}
ここをクリックして展開...
{
    "node": "abdeaf1b2b4a",
    "files": [
        {
            "type": "added",
            "file": "AnotherFile.txt"
},
        {
            "type": "modified",
            "file": "Readme"
        }
    ],
    "raw_author": "Mary Anthony <manthony@172-28-13-105.staff.sf.atlassian.com>",
"utctimestamp": "2012-07-23 22:26:36+00:00",
    "author": "Mary Anthony",
    "timestamp": "2012-07-24 00:26:36",
    "node": "abdeaf1b2b4a6b9ddf742c1e1754236380435a62",
    "parents": [
        "86432202a2d5"
    ],
    "branch": "master",
    "message": "making some changes\n",
    "revision": null,
    "size": -1
}

参加者を個別チェンジセットと関連付ける

コメントの追加や承認を通じて、ユーザー間でチェンジセットで共同作業することができます。ユーザーの一覧は Bitbucket の V2 API によって返される commit オブジェクトの participants エレメントに埋め込まれます。

GET https://api.bitbucket.org/2.0/repositories/{accountname}/{repo_slug}/commit/{sha1}

統計を個別チェンジセットと関連付ける

チェンジセットの特定の node と関連付けられた変更後のファイルで、統計を含む配列を返します。非公開のリポジトリでは、呼び出し元が認証を行う必要があります。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須かどうか 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
node はい node チェンジセットの識別子。

 この呼び出しによって返される情報には、以下があります:

  • 変更のタイプ
  • ファイルの名前
  • 削除された行の数
  • 追加された行の数

差分が非常に大きい場合、追加/削除される行数 (diffstat) の計算の処理量が大きくなる可能性があります。差分が大きいと、タイムアウトやクラッシュが発生する場合があります。クラッシュ/タイムアウトを防ぐため、Bitbucket は追加/削除される行の数の差分が大きい場合、JSON null を報告します。  

https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets/{node}/diffstat を取得する 
ここをクリックして展開...
[
    {
        "type": "added",
        "file": "AnotherFile.txt",
"diffstat": {
            "removed": 0,
            "added": 0
        }
    },
    {
        "type": "modified",
        "file": "Readme",
        "diffstat": {
            "removed": 0,
            "added": 3
        }
    },
    {
        "type": "modified",
        "file": "LICENSE",
        "diffstat": {
            "removed": null,
            "added": null
        }
    }
]

差分をチェンジセットと関連付ける

特定のチェンジセット ノードに関連付けられた実際の差分を取得します。この呼び出しは、JSON を含む文字列として出力されます。非公開のリポジトリでは、呼び出し元が認証を行う必要があります。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須かどうか 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
node はい node チェンジセット識別子。
GET https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets/{node}/diff
ここをクリックして展開...
[
  {
    "from_file": {
      "meta": {
        "numLines": 232,
        "position": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          212,
          212,
          212,
          212,
          212,
          212,
          212,
          212,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223
        ],
        "longestLine": {
          "html": "&quot;Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived.&quot; -Jean Luc Picard&lt;/blockquote&gt;"
        },
        "name": "from",
        "filename": "index.html"
      },
      "pages": [
        [
          {
            "html": "&lt;!DOCTYPE html&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--[if lt IE 7]&gt; &lt;html class=&quot;no-js lt-ie9 lt-ie8 lt-ie7&quot; lang=&quot;en&quot;&gt; &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--[if IE 7]&gt;    &lt;html class=&quot;no-js lt-ie9 lt-ie8&quot; lang=&quot;en&quot;&gt; &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--[if IE 8]&gt;    &lt;html class=&quot;no-js lt-ie9&quot; lang=&quot;en&quot;&gt; &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--[if gt IE 8]&gt;&lt;!--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;html lang=&quot;en&quot;&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--&lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;head&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;meta charset=&quot;utf-8&quot; /&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- Set the viewport width to device width for mobile --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;title&gt;Favorite Quotes from Bitbuckians&lt;/title&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- Included CSS Files --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/foundation.css&quot;&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/app.css&quot;&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!--[if lt IE 9]&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/ie.css&quot;&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- IE Fix for HTML5 Tags --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!--[if lt IE 9]&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;script src=&quot;http://html5shiv.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;style&gt;",
            "gutters": []
          },
          {
            "html": "        td img",
            "gutters": []
          },
          {
            "html": "        {",
            "gutters": []
          },
          {
            "html": "            box-shadow: 5px 5px 12px #888;",
            "gutters": []
          },
          {
            "html": "        }",
            "gutters": []
          },
          {
            "html": "    &lt;/style&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/head&gt;",
            "gutters": []
          },
          {
            "html": "&lt;body&gt;",
            "gutters": []
          },
          {
            "html": "&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- container --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;div class=&quot;container&quot;&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;div class=&quot;row&quot;&gt;",
            "gutters": []
          },
          {
            "html": "            &lt;div class=&quot;twelve columns&quot;&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;h1&gt;",
            "gutters": []
          },
          {
            "html": "                    Favorite Quotes from Bitbuckaneers 2013&lt;/h1&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;p&gt;",
            "gutters": []
          },
          {
            "html": "                    This page lists the favorite quotes from any Bitbuckaneer that cares to contribute. ",
            "gutters": []
          },
          {
            "html": "                         This is a family-oriented site, so only post stuff you are comfortable showing to",
            "gutters": []
          },
          {
            "html": "                        your family. If your family is seriously abnormal, my condolences and I&#39;m going",
            "gutters": []
          },
          {
            "html": "                        to reject your sadly twisted pull request.",
            "gutters": []
          },
          {
            "html": "                    &lt;/p&gt;",
            "gutters": []
          },
          {
            "html": "                    &lt;p&gt; After a year of being a live tutorial, the list of quotes got really, ",
            "gutters": []
          },
          {
            "html": "                    really long. So, I&#39;ve &lt;a href=&quot;yearone.html&quot;&gt;archived the year one stuff to this page&lt;/a&gt;. ",
            "gutters": []
          },
          {
            "html": "                    This is a whole new year! Let&#39;s make it as good as the last.",
            "gutters": []
          },
          {
            "html": "            &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;div class=&quot;row&quot;&gt;",
            "gutters": []
          },
          {
            "html": "            &lt;div class=&quot;twelve columns&quot;&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;!-- Quotes Table Start --&gt;",
            "gutters": []
          },
          {
            "html": "&lt;table&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;img src=&quot;http://media.theiapolis.com/b000000/d4/hLC/i1OKJ/k4/l1OZ1/s6/t3/wSG/y04/patrick-stewart-as-captain-jean-luc-picard.jpg&quot; alt=&quot;captainpicard&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&quot;Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived.&quot; -Jean Luc Picard&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "   ",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;The Lottery is a tax on people who are bad at math.&lt;/blockquote&gt; -Ambrose Bierce",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t   \tWhat we observe is not nature itself, but nature exposed to our method of questioning. ",
            "gutters": []
          },
          {
            "html": "\t\t&lt;footer&gt;W. Heisenberg&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;&quot;You don&#39;t want me! I&#39;m full of scotch and bitterness and impure thoughts.&quot;&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;You miss 100% of the shots you never take!&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;img src=&quot;http://upload.wikimedia.org/wikipedia/commons/archive/f/f2/20050618191801%21Atelier_de_Nicolas_de_Largilli%C3%A8re%2C_portrait_de_Voltaire%2C_d%C3%A9tail_%28mus%C3%A9e_Carnavalet%29_-002.jpg&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;blockquote&gt;",
            "gutters": []
          }
        ],
        [
          {
            "html": "\t\t\tA witty saying proves nothing.",
            "gutters": []
          },
          {
            "html": "\t\t\t&lt;footer&gt;Voltaire&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;Invention, it must be humbly admitted, does not consist in creating out of void but out of chaos.",
            "gutters": []
          },
          {
            "html": "    ~Jonathan Lethem&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;img src=&quot;http://upload.wikimedia.org/wikipedia/en/thumb/a/a1/Cast_of_Farscape_season_2.jpg/300px-Cast_of_Farscape_season_2.jpg&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;&lt;b&gt;Crichton:&lt;/b&gt; &#39;If he masters wormhole technology, what will he use it for?&#39; &lt;br&gt;",
            "gutters": []
          },
          {
            "html": "&lt;b&gt;Scorpius:&lt;/b&gt; &#39;Faster delivery of pizzas.&#39; ",
            "gutters": []
          },
          {
            "html": "&lt;br&gt;",
            "gutters": []
          },
          {
            "html": "--- Farscape",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!-- John L --&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;img src=&quot;http://i.huffpost.com/gen/251227/thumbs/s-MHEDBERG-large300.jpg&quot; /&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t\tI&#39;m sick of following my dreams. I&#39;m just going to ask them where they&#39;re goin, and hook up with them later.  ",
            "gutters": []
          },
          {
            "html": "\t\t\t\t&lt;footer&gt;Mitch Hedberg&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;!-- Greg S --&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t        &lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t    &lt;img src=&quot;http://upload.wikimedia.org/wikipedia/commons/a/ac/10TerryPratchett02.jpg&quot; /&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t     &lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t       If complete and utter chaos was lightning, then he&#39;d be the sort to stand on a hilltop in a thunderstorm wearing wet copper armour and shouting &#39;All gods are bastards&#39;.",
            "gutters": []
          },
          {
            "html": "\t\t       &lt;footer&gt;Terry Pratchett, The Colour of Magic&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t     &lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;img src=&quot;http://cdn.webshopapp.com/f/z10lug/image.jpg&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;There’s a time and a place for everything, and it’s called college.",
            "gutters": []
          },
          {
            "html": "      &lt;footer&gt;Chef&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;\t",
            "gutters": []
          },
          {
            "html": "\t",
            "gutters": []
          },
          {
            "html": "\t&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;img src=&quot;http://i.imgur.com/ID2m9.jpg&quot; /&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t\tThere&#39;s never enough time to do all the nothing you want. ",
            "gutters": []
          },
          {
            "html": "\t\t\t\t&lt;footer&gt;Calvin &amp; Hobbes (Bill Waterson)&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/tr&gt;\t  ",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;img src=&quot;http://images4.wikia.nocookie.net/__cb20111129200047/disney/images/4/42/Woody_Toy_Story_2.jpg&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;Reach for the stars.&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;!-- Mike Rezny --&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;img src=&quot;images/Steve_Jobs_Headshot_2010-CROP.jpg&quot; alt = &quot;Steve Jobs&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "                Your time is limited, so don&#39;t waste it living someone else&#39;s life.",
            "gutters": []
          },
          {
            "html": "                Don&#39;t be trapped by dogma - which is living with the results of other people&#39;s thinking. ",
            "gutters": []
          },
          {
            "html": "                Don&#39;t let the noise of others&#39; opinions drown out your own inner voice.",
            "gutters": []
          },
          {
            "html": "                And most important, have the courage to follow your heart and intuition.",
            "gutters": []
          },
          {
            "html": "\t\t\t\t&lt;footer&gt;Steve Jobs&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "\t",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;img src=&quot;http://eran.geek.co.il/wp-content/uploads/2012/06/we-bought-a-zoo-poster-300x230.jpg&quot;/&gt;",
            "gutters": []
          }
        ],
        [
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;&quot;You don&#39;t want me! I&#39;m full of scotch and bitterness and impure thoughts.&quot;&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "\t",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "end": true,
            "start": true,
            "html": "&lt;td&gt; &lt;img src=&quot;http://visualparadox.com/wallpapers/binary800.htm&quot; /&gt;&lt;/td&gt;",
            "gutters": [],
            "change": true
          },
          {
            "html": "&lt;td&gt; &lt;blockquote&gt;There are 10 sorts of people in this world - those who understand binary ... and I forget what the other nine are. &lt;footer&gt;unknown&lt;/footer&gt;&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "start": true,
            "html": "&lt;tr&gt;",
            "gutters": [],
            "deletion": true
          },
          {
            "html": "    &lt;td&gt;",
            "gutters": [],
            "deletion": true
          },
          {
            "html": "        &lt;img src=&quot;http://visualparadox.com/wallpapers/binary800.htm&quot; /&gt;",
            "gutters": [],
            "deletion": true
          },
          {
            "html": "    &lt;/td&gt;",
            "gutters": [],
            "deletion": true
          },
          {
            "html": "    &lt;td&gt;",
            "gutters": [],
            "deletion": true
          },
          {
            "html": "        &lt;blockquote&gt;There are 10 sorts of people in this world - those who understand binary ... and I forget what the other nine are.&lt;/blockquote&gt;",
            "gutters": [],
            "deletion": true
          },
          {
            "html": "    &lt;/td&gt;",
            "gutters": [],
            "deletion": true
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": [],
            "deletion": true
          },
          {
            "end": true,
            "html": "",
            "gutters": [],
            "deletion": true
          },
          {
            "html": "&lt;/table&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;!-- Quotes Table End --&gt;",
            "gutters": []
          },
          {
            "html": "            &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- container --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- Included JS Files --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;script src=&quot;javascripts/foundation.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;script src=&quot;javascripts/app.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/body&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/html&gt;",
            "gutters": []
          }
        ]
      ],
      "block_num": 0
    },
    "hunks": [
      {
        "to_lines": [
          "&lt;td&gt; &lt;img src=&quot;http://theshpitz.files.wordpress.com/2010/03/binary.png?w=640&quot; /&gt;&lt;/td&gt;"
        ],
        "from_count": 1,
        "to_start": 208,
        "from_start": 208,
        "to_count": 1,
        "type": "mod",
        "conflict": false,
        "from_lines": [
          "&lt;td&gt; &lt;img src=&quot;http://visualparadox.com/wallpapers/binary800.htm&quot; /&gt;&lt;/td&gt;"
        ]
      },
      {
        "to_lines": [],
        "from_count": 9,
        "to_start": 213,
        "from_start": 213,
        "to_count": 0,
        "type": "rem",
        "conflict": false,
        "from_lines": [
          "&lt;tr&gt;",
          "    &lt;td&gt;",
          "        &lt;img src=&quot;http://visualparadox.com/wallpapers/binary800.htm&quot; /&gt;",
          "    &lt;/td&gt;",
          "    &lt;td&gt;",
          "        &lt;blockquote&gt;There are 10 sorts of people in this world - those who understand binary ... and I forget what the other nine are.&lt;/blockquote&gt;",
          "    &lt;/td&gt;",
          "&lt;/tr&gt;",
          ""
        ]
      }
    ],
    "unified_map": [
      null,
      [
        1,
        1
      ],
      [
        2,
        2
      ],
      [
        3,
        3
      ],
      [
        4,
        4
      ],
      [
        5,
        5
      ],
      [
        6,
        6
      ],
      [
        7,
        7
      ],
      [
        8,
        8
      ],
      [
        9,
        9
      ],
      [
        10,
        10
      ],
      [
        11,
        11
      ],
      [
        12,
        12
      ],
      [
        13,
        13
      ],
      [
        14,
        14
      ],
      [
        15,
        15
      ],
      [
        16,
        16
      ],
      [
        17,
        17
      ],
      [
        18,
        18
      ],
      [
        19,
        19
      ],
      [
        20,
        20
      ],
      [
        21,
        21
      ],
      [
        22,
        22
      ],
      [
        23,
        23
      ],
      [
        24,
        24
      ],
      [
        25,
        25
      ],
      [
        26,
        26
      ],
      [
        27,
        27
      ],
      [
        28,
        28
      ],
      [
        29,
        29
      ],
      [
        30,
        30
      ],
      [
        31,
        31
      ],
      [
        32,
        32
      ],
      [
        33,
        33
      ],
      [
        34,
        34
      ],
      [
        35,
        35
      ],
      [
        36,
        36
      ],
      [
        37,
        37
      ],
      [
        38,
        38
      ],
      [
        39,
        39
      ],
      [
        40,
        40
      ],
      [
        41,
        41
      ],
      [
        42,
        42
      ],
      [
        43,
        43
      ],
      [
        44,
        44
      ],
      [
        45,
        45
      ],
      [
        46,
        46
      ],
      [
        47,
        47
      ],
      [
        48,
        48
      ],
      [
        49,
        49
      ],
      [
        50,
        50
      ],
      [
        51,
        51
      ],
      [
        52,
        52
      ],
      [
        53,
        53
      ],
      [
        54,
        54
      ],
      [
        55,
        55
      ],
      [
        56,
        56
      ],
      [
        57,
        57
      ],
      [
        58,
        58
      ],
      [
        59,
        59
      ],
      [
        60,
        60
      ],
      [
        61,
        61
      ],
      [
        62,
        62
      ],
      [
        63,
        63
      ],
      [
        64,
        64
      ],
      [
        65,
        65
      ],
      [
        66,
        66
      ],
      [
        67,
        67
      ],
      [
        68,
        68
      ],
      [
        69,
        69
      ],
      [
        70,
        70
      ],
      [
        71,
        71
      ],
      [
        72,
        72
      ],
      [
        73,
        73
      ],
      [
        74,
        74
      ],
      [
        75,
        75
      ],
      [
        76,
        76
      ],
      [
        77,
        77
      ],
      [
        78,
        78
      ],
      [
        79,
        79
      ],
      [
        80,
        80
      ],
      [
        81,
        81
      ],
      [
        82,
        82
      ],
      [
        83,
        83
      ],
      [
        84,
        84
      ],
      [
        85,
        85
      ],
      [
        86,
        86
      ],
      [
        87,
        87
      ],
      [
        88,
        88
      ],
      [
        89,
        89
      ],
      [
        90,
        90
      ],
      [
        91,
        91
      ],
      [
        92,
        92
      ],
      [
        93,
        93
      ],
      [
        94,
        94
      ],
      [
        95,
        95
      ],
      [
        96,
        96
      ],
      [
        97,
        97
      ],
      [
        98,
        98
      ],
      [
        99,
        99
      ],
      [
        100,
        100
      ],
      [
        101,
        101
      ],
      [
        102,
        102
      ],
      [
        103,
        103
      ],
      [
        104,
        104
      ],
      [
        105,
        105
      ],
      [
        106,
        106
      ],
      [
        107,
        107
      ],
      [
        108,
        108
      ],
      [
        109,
        109
      ],
      [
        110,
        110
      ],
      [
        111,
        111
      ],
      [
        112,
        112
      ],
      [
        113,
        113
      ],
      [
        114,
        114
      ],
      [
        115,
        115
      ],
      [
        116,
        116
      ],
      [
        117,
        117
      ],
      [
        118,
        118
      ],
      [
        119,
        119
      ],
      [
        120,
        120
      ],
      [
        121,
        121
      ],
      [
        122,
        122
      ],
      [
        123,
        123
      ],
      [
        124,
        124
      ],
      [
        125,
        125
      ],
      [
        126,
        126
      ],
      [
        127,
        127
      ],
      [
        128,
        128
      ],
      [
        129,
        129
      ],
      [
        130,
        130
      ],
      [
        131,
        131
      ],
      [
        132,
        132
      ],
      [
        133,
        133
      ],
      [
        134,
        134
      ],
      [
        135,
        135
      ],
      [
        136,
        136
      ],
      [
        137,
        137
      ],
      [
        138,
        138
      ],
      [
        139,
        139
      ],
      [
        140,
        140
      ],
      [
        141,
        141
      ],
      [
        142,
        142
      ],
      [
        143,
        143
      ],
      [
        144,
        144
      ],
      [
        145,
        145
      ],
      [
        146,
        146
      ],
      [
        147,
        147
      ],
      [
        148,
        148
      ],
      [
        149,
        149
      ],
      [
        150,
        150
      ],
      [
        151,
        151
      ],
      [
        152,
        152
      ],
      [
        153,
        153
      ],
      [
        154,
        154
      ],
      [
        155,
        155
      ],
      [
        156,
        156
      ],
      [
        157,
        157
      ],
      [
        158,
        158
      ],
      [
        159,
        159
      ],
      [
        160,
        160
      ],
      [
        161,
        161
      ],
      [
        162,
        162
      ],
      [
        163,
        163
      ],
      [
        164,
        164
      ],
      [
        165,
        165
      ],
      [
        166,
        166
      ],
      [
        167,
        167
      ],
      [
        168,
        168
      ],
      [
        169,
        169
      ],
      [
        170,
        170
      ],
      [
        171,
        171
      ],
      [
        172,
        172
      ],
      [
        173,
        173
      ],
      [
        174,
        174
      ],
      [
        175,
        175
      ],
      [
        176,
        176
      ],
      [
        177,
        177
      ],
      [
        178,
        178
      ],
      [
        179,
        179
      ],
      [
        180,
        180
      ],
      [
        181,
        181
      ],
      [
        182,
        182
      ],
      [
        183,
        183
      ],
      [
        184,
        184
      ],
      [
        185,
        185
      ],
      [
        186,
        186
      ],
      [
        187,
        187
      ],
      [
        188,
        188
      ],
      [
        189,
        189
      ],
      [
        190,
        190
      ],
      [
        191,
        191
      ],
      [
        192,
        192
      ],
      [
        193,
        193
      ],
      [
        194,
        194
      ],
      [
        195,
        195
      ],
      [
        196,
        196
      ],
      [
        197,
        197
      ],
      [
        198,
        198
      ],
      [
        199,
        199
      ],
      [
        200,
        200
      ],
      [
        201,
        201
      ],
      [
        202,
        202
      ],
      [
        203,
        203
      ],
      [
        204,
        204
      ],
      [
        205,
        205
      ],
      [
        206,
        206
      ],
      [
        207,
        207
      ],
      [
        208,
        null
      ],
      [
        null,
        208
      ],
      [
        209,
        209
      ],
      [
        210,
        210
      ],
      [
        211,
        211
      ],
      [
        212,
        212
      ],
      [
        213,
        null
      ],
      [
        214,
        null
      ],
      [
        215,
        null
      ],
      [
        216,
        null
      ],
      [
        217,
        null
      ],
      [
        218,
        null
      ],
      [
        219,
        null
      ],
      [
        220,
        null
      ],
      [
        221,
        null
      ],
      [
        222,
        213
      ],
      [
        223,
        214
      ],
      [
        224,
        215
      ],
      [
        225,
        216
      ],
      [
        226,
        217
      ],
      [
        227,
        218
      ],
      [
        228,
        219
      ],
      [
        229,
        220
      ],
      [
        230,
        221
      ],
      [
        231,
        222
      ],
      [
        232,
        223
      ]
    ],
    "note": null,
    "from_lines_per_page": 100,
    "to_file": {
      "meta": {
        "numLines": 223,
        "position": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232
        ],
        "longestLine": {
          "html": "&quot;Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived.&quot; -Jean Luc Picard&lt;/blockquote&gt;"
        },
        "name": "to",
        "filename": "index.html"
      },
      "pages": [
        [
          {
            "html": "&lt;!DOCTYPE html&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--[if lt IE 7]&gt; &lt;html class=&quot;no-js lt-ie9 lt-ie8 lt-ie7&quot; lang=&quot;en&quot;&gt; &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--[if IE 7]&gt;    &lt;html class=&quot;no-js lt-ie9 lt-ie8&quot; lang=&quot;en&quot;&gt; &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--[if IE 8]&gt;    &lt;html class=&quot;no-js lt-ie9&quot; lang=&quot;en&quot;&gt; &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--[if gt IE 8]&gt;&lt;!--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;html lang=&quot;en&quot;&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--&lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "&lt;head&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;meta charset=&quot;utf-8&quot; /&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- Set the viewport width to device width for mobile --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot; /&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;title&gt;Favorite Quotes from Bitbuckians&lt;/title&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- Included CSS Files --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/foundation.css&quot;&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/app.css&quot;&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!--[if lt IE 9]&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheets/ie.css&quot;&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- IE Fix for HTML5 Tags --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!--[if lt IE 9]&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;script src=&quot;http://html5shiv.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;![endif]--&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;style&gt;",
            "gutters": []
          },
          {
            "html": "        td img",
            "gutters": []
          },
          {
            "html": "        {",
            "gutters": []
          },
          {
            "html": "            box-shadow: 5px 5px 12px #888;",
            "gutters": []
          },
          {
            "html": "        }",
            "gutters": []
          },
          {
            "html": "    &lt;/style&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/head&gt;",
            "gutters": []
          },
          {
            "html": "&lt;body&gt;",
            "gutters": []
          },
          {
            "html": "&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!-- container --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;div class=&quot;container&quot;&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;div class=&quot;row&quot;&gt;",
            "gutters": []
          },
          {
            "html": "            &lt;div class=&quot;twelve columns&quot;&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;h1&gt;",
            "gutters": []
          },
          {
            "html": "                    Favorite Quotes from Bitbuckaneers 2013&lt;/h1&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;p&gt;",
            "gutters": []
          },
          {
            "html": "                    This page lists the favorite quotes from any Bitbuckaneer that cares to contribute. ",
            "gutters": []
          },
          {
            "html": "                         This is a family-oriented site, so only post stuff you are comfortable showing to",
            "gutters": []
          },
          {
            "html": "                        your family. If your family is seriously abnormal, my condolences and I&#39;m going",
            "gutters": []
          },
          {
            "html": "                        to reject your sadly twisted pull request.",
            "gutters": []
          },
          {
            "html": "                    &lt;/p&gt;",
            "gutters": []
          },
          {
            "html": "                    &lt;p&gt; After a year of being a live tutorial, the list of quotes got really, ",
            "gutters": []
          },
          {
            "html": "                    really long. So, I&#39;ve &lt;a href=&quot;yearone.html&quot;&gt;archived the year one stuff to this page&lt;/a&gt;. ",
            "gutters": []
          },
          {
            "html": "                    This is a whole new year! Let&#39;s make it as good as the last.",
            "gutters": []
          },
          {
            "html": "            &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;div class=&quot;row&quot;&gt;",
            "gutters": []
          },
          {
            "html": "            &lt;div class=&quot;twelve columns&quot;&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;!-- Quotes Table Start --&gt;",
            "gutters": []
          },
          {
            "html": "&lt;table&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;img src=&quot;http://media.theiapolis.com/b000000/d4/hLC/i1OKJ/k4/l1OZ1/s6/t3/wSG/y04/patrick-stewart-as-captain-jean-luc-picard.jpg&quot; alt=&quot;captainpicard&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&quot;Time is a companion that goes with us on a journey.It reminds us to cherish each moment, because it will never come again.What we leave behind is not as important as how we have lived.&quot;-Jean Luc Picard&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "   ",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;The Lottery is a tax on people who are bad at math.&lt;/blockquote&gt; -Ambrose Bierce",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t   \tWhat we observe is not nature itself, but nature exposed to our method of questioning.",
            "gutters": []
          },
          {
            "html": "\t\t&lt;footer&gt;W.Heisenberg&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;&quot;You don&#39;t want me!I&#39;m full of scotch and bitterness and impure thoughts.&quot;&lt;/blockquote&gt;",
"gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;You miss 100% of the shots you never take!&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;img src=&quot;http://upload.wikimedia.org/wikipedia/commons/archive/f/f2/20050618191801%21Atelier_de_Nicolas_de_Largilli%C3%A8re%2C_portrait_de_Voltaire%2C_d%C3%A9tail_%28mus%C3%A9e_Carnavalet%29_-002.jpg&quot;/&gt;",
"gutters": []
          },
          {
            "html": "\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;blockquote&gt;",
            "gutters": []
          }
        ],
        [
          {
            "html": "\t\t\tA witty saying proves nothing.",
"gutters": []
          },
          {
            "html": "\t\t\t&lt;footer&gt;Voltaire&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;Invention, it must be humbly admitted, does not consist in creating out of void but out of chaos.",
"gutters": []
          },
          {
            "html": "    ~Jonathan Lethem&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;img src=&quot;http://upload.wikimedia.org/wikipedia/en/thumb/a/a1/Cast_of_Farscape_season_2.jpg/300px-Cast_of_Farscape_season_2.jpg&quot;/&gt;",
"gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;&lt;b&gt;Crichton:&lt;/b&gt; &#39;If he masters wormhole technology, what will he use it for?&#39;&lt;br&gt;",
            "gutters": []
          },
          {
            "html": "&lt;b&gt;Scorpius:&lt;/b&gt; &#39;Faster delivery of pizzas.&#39;",
            "gutters": []
          },
          {
            "html": "&lt;br&gt;",
            "gutters": []
          },
          {
            "html": "--- Farscape",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;!--John L --&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;img src=&quot;http://i.huffpost.com/gen/251227/thumbs/s-MHEDBERG-large300.jpg&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t\tI&#39;m sick of following my dreams.I&#39;m just going to ask them where they&#39;re goin, and hook up with them later.",
            "gutters": []
          },
          {
            "html": "\t\t\t\t&lt;footer&gt;Mitch Hedberg&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;!--Greg S --&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t        &lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t    &lt;img src=&quot;http://upload.wikimedia.org/wikipedia/commons/a/ac/10TerryPratchett02.jpg&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t     &lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t       If complete and utter chaos was lightning, then he&#39;d be the sort to stand on a hilltop in a thunderstorm wearing wet copper armour and shouting &#39;All gods are bastards&#39;.",
"gutters": []
          },
          {
            "html": "\t\t       &lt;footer&gt;Terry Pratchett, The Colour of Magic&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t     &lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;img src=&quot;http://cdn.webshopapp.com/f/z10lug/image.jpg&quot;/&gt;",
"gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;There’s a time and a place for everything, and it’s called college.",
"gutters": []
          },
          {
            "html": "      &lt;footer&gt;Chef&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;\t",
            "gutters": []
          },
          {
            "html": "\t",
            "gutters": []
          },
          {
            "html": "\t&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;img src=&quot;http://i.imgur.com/ID2m9.jpg&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t\tThere&#39;s never enough time to do all the nothing you want.",
            "gutters": []
          },
          {
            "html": "\t\t\t\t&lt;footer&gt;Calvin &amp; Hobbes (Bill Waterson)&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/tr&gt;\t  ",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;img src=&quot;http://images4.wikia.nocookie.net/__cb20111129200047/disney/images/4/42/Woody_Toy_Story_2.jpg&quot;/&gt;",
"gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;Reach for the stars.&lt;/blockquote&gt;",
"gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "html": "&lt;!--Mike Rezny --&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;img src=&quot;images/Steve_Jobs_Headshot_2010-CROP.jpg&quot;alt = &quot;Steve Jobs&quot;/&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    \t\t&lt;blockquote&gt;",
            "gutters": []
          },
          {
            "html": "                Your time is limited, so don&#39;t waste it living someone else&#39;s life.",
"gutters": []
          },
          {
            "html": "                Don&#39;t be trapped by dogma - which is living with the results of other people&#39;s thinking.",
            "gutters": []
          },
          {
            "html": "                Don&#39;t let the noise of others&#39; opinions drown out your own inner voice.",
"gutters": []
          },
          {
            "html": "                And most important, have the courage to follow your heart and intuition.",
"gutters": []
          },
          {
            "html": "\t\t\t\t&lt;footer&gt;Steve Jobs&lt;/footer&gt;",
            "gutters": []
          },
          {
            "html": "\t\t\t&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "\t\t&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "\t&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "\t",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;img src=&quot;http://eran.geek.co.il/wp-content/uploads/2012/06/we-bought-a-zoo-poster-300x230.jpg&quot;/&gt;",
"gutters": []
          }
        ],
        [
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;td&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;blockquote&gt;&quot;You don&#39;t want me!I&#39;m full of scotch and bitterness and impure thoughts.&quot;&lt;/blockquote&gt;",
"gutters": []
          },
          {
            "html": "    &lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "\t",
            "gutters": []
          },
          {
            "html": "&lt;tr&gt;",
            "gutters": []
          },
          {
            "end": true,
            "start": true,
            "html": "&lt;td&gt; &lt;img src=&quot;http://theshpitz.files.wordpress.com/2010/03/binary.png?w=640&quot; /&gt;&lt;/td&gt;",
            "gutters": [],
            "change": true
          },
          {
            "html": "&lt;td&gt; &lt;blockquote&gt;There are 10 sorts of people in this world - those who understand binary ... and I forget what the other nine are.&lt;footer&gt;unknown&lt;/footer&gt;&lt;/blockquote&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/td&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/tr&gt;",
            "gutters": []
          },
          {
            "html": "",
            "gutters": []
          },
          {
            "start": true,
            "html": "&lt;/table&gt;",
            "gutters": []
          },
          {
            "html": "                &lt;!--Quotes Table End --&gt;",
            "gutters": []
          },
          {
            "html": "            &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "        &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;/div&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!--container --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;!--Included JS Files --&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;script src=&quot;javascripts/foundation.js&quot;type=&quot;text/javascript&quot;&gt;&lt;/script&gt;",
            "gutters": []
          },
          {
            "html": "    &lt;script src=&quot;javascripts/app.js&quot;type=&quot;text/javascript&quot;&gt;&lt;/script&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/body&gt;",
            "gutters": []
          },
          {
            "html": "&lt;/html&gt;",
            "gutters": []
          }
        ]
      ],
      "block_num": 0
    },
    "from_pages_per_block": 10
  }
]

チェンジセットでコメントの一覧を取得する

特定のチェンジセットのノードに関連付けられたコメントを取得します。ユーザーは、特定のチェンジセットでコメントを作成または編集できます。非公開のリポジトリでは、呼び出し元が認証を行う必要があります。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須かどうか 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
node はい node チェンジセット識別子。
GET https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets/{node}/comments
ここをクリックして展開...
[
    {
        "username": "tutorials",
        "node": "abdeaf1b2b4a",
        "comment_id": 25570,
        "display_name": "tutorials",
        "parent_id": null,
        "deleted": false,
        "utc_last_updated": "2012-07-23 23:17:01+00:00",
        "filename_hash": null,
        "filename": null,
        "content": "This is a very good change.Been waiting for it.",
"content_rendered": "<p>This is a very good change.Been waiting for it.</p>\n",
"user_avatar_url": "https://secure.gravatar.com/avatar/0bc5bd490000b8e63c35c0f54e667b9e?d=identicon&s=32",
        "line_from": null,
        "line_to": null,
        "utc_created_on": "2012-07-23 23:17:01+00:00",
        "is_spam": false
    },
    {
        "username": "atlassian_tutorial",
        "node": "abdeaf1b2b4a",
        "comment_id": 25571,
        "display_name": "Atlassian Tutorials",
        "parent_id": null,
        "deleted": false,
        "utc_last_updated": "2012-07-23 23:22:46+00:00",
        "filename_hash": null,
        "filename": null,
        "content": "wow super cool!",
        "content_rendered": "<p>wow super cool!</p>\n",
        "user_avatar_url": "https://secure.gravatar.com/avatar/eb4e0ad6934518b3e335345a4ceeef21?d=https%3A%2F%2Fdwz7u9t8u8usb.cloudfront.net%2Fm%2Ffbe390655bc5%2Fimg%2Fteam_no_avatar_32.png&s=32",
"line_from": null,
        "line_to": null,
        "utc_created_on": "2012-07-23 23:22:46+00:00",
        "is_spam": false
    }
]

この呼び出しは、削除済コメントのマーカーも返します (削除済みが true)。以下は、削除されたコメントを含む戻り値を表示します。

    {
        "username": "tutorials",
        "node": "abdeaf1b2b4a",
        "comment_id": 25570,
        "display_name": "tutorials",
        "parent_id": null,
        "deleted": false,
        "utc_last_updated": "2012-07-23 23:17:01+00:00",
        "filename_hash": null,
        "filename": null,
        "content": "This is a very good change.Been waiting for it.",
"content_rendered": "<p>This is a very good change.Been waiting for it.</p>\n",
"user_avatar_url": "https://secure.gravatar.com/avatar/0bc5bd490000b8e63c35c0f54e667b9e?d=identicon&s=32",
        "line_from": null,
        "line_to": null,
        "utc_created_on": "2012-07-23 23:17:01+00:00",
        "is_spam": false
    },
    {
        "node": "abdeaf1b2b4a",
        "filename_hash": null,
        "deleted": true,
        "comment_id": 25571,
        "filename": null,
        "parent_id": null,
        "line_from": null,
        "line_to": null,
        "is_spam": false
    }
]

チェンジセットのコメントを削除する

指定したチェンジセット node に関連付けられた特定の comment_id を削除します。コメントを削除するには、リポジトリまたはアカウントの管理権限を持っているか、コメントと関連付けられた username として認証されている必要があります。非公開のリポジトリでは、呼び出し元が認証を行う必要があります。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
node はい node チェンジセット識別子。
comment_id はい コメント識別子。
 https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets/{node}/comments/{comment_id} を削除
ここをクリックして展開...
{
    "node": "abdeaf1b2b4a",
    "filename_hash": null,
    "deleted": true,
    "comment_id": 25571,
    "filename": null,
    "parent_id": null,
    "line_from": null,
    "line_to": null,
    "is_spam": false
} 

チェンジセットで新規コメントを投稿する

チェンジセット ノードに新しいコメントを追加します。この呼び出しには認証が必要です。呼び出しは、新しいコメントを追加するか、parent_id パラメーターで指定された別のコメントに返信するコメントを作成します。システムは、認証済みの呼び出し元の代理でコメントを作成します。新しいコメントを投稿するには、認証済みの呼び出し元にリポジトリの管理または書き込み権限が必要です。

非公開のリポジトリでは、呼び出し元が認証を行う必要があります。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須かどうか 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
node はい node チェンジセット識別子。
content はい コメントのコンテンツを含む文字列。
line_from いいえ

An integer representing the starting line of the comment. Requires the filename parameter.

Use this parameter to post a comment on a line in the red or modified (text removed or changed) section of the changeset or the unmodified section of a file in a changeset.

line_to いいえ

An integer representing the ending line of the comment. Requires the filename parameter.

Only use this parameter to post a comment  on a line in the green or new text (new text added) section of a changeset. Using this parameter to post a comment in any other section will be successful, but the comment will only show up in the activity tab.

parent_id いいえ 返信先のコメントの一意の ID を表す整数。
filename いいえ このコミットを適用する、チェンジセット内のファイル名を表す文字列。


POST https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets/{node}/comments
ここをクリックして展開...
Outgoing call example
curl -v -u {username} -X POST https://api.bitbucket.org/1.0/repositories/teamsinspace/documentation-tests/changesets/8b236d9/comments -d line_from=1 -d content=Comment -d filename=myquote
{
    "comment_id": 2921102,
    "content": "Comment",
    "content_rendered": "<p>Comment</p>",
    "convert_markup": false,
    "deleted": false,
    "display_name": "Dan Stevens [Atlassian]",
    "filename": "myquote",
    "filename_hash": "48cc0cf4abac482045db2a3861550038",
    "is_entity_author": true,
    "is_repo_owner": false,
    "is_spam": false,
    "line_from": "1",
    "line_to": null,
    "node": "8b236d9900e6df5cffe9515020520ef8db3c62f6",
    "parent_id": null,
    "user_avatar_url": "https://bitbucket.org/account/dans9190/avatar/32/?ts=1458051335",
    "username": "dans9190",
    "utc_created_on": "2016-03-15 16:48:17+00:00",
    "utc_last_updated": "2016-03-15 16:48:17+00:00"
}

既存のチェンジセット コメントを更新する

comment_id によって識別された既存のチェンジセット コミットを更新します。この呼び出しには認証が必要です。システムは、認証済みの呼び出し元の代理でコメントを更新します。呼び出し元は、アカウントまたはリポジトリの管理権限を持つユーザー、またはコメントを作成したユーザーとして認証する必要があります。非公開のリポジトリでは、呼び出し元が認証を行う必要があります。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須かどうか 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
node はい node チェンジセット識別子。
comment_id はい コメント識別子。
content はい コメントのコンテンツを含む文字列。
line_from いいえ コメントの開始行を表す整数。
line_to いいえ コメントの終了行を表す整数。
parent_id いいえ 返信先のコメントの一意の ID を表す整数。
filename いいえ このコミットを適用する、チェンジセット内のファイル名を表す文字列。
PUT https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets/{node}/comments/{comment_id
ここをクリックして展開...
 {
    "username": "auserbb",
    "node": "abdeaf1b2b4a",
    "comment_id": 25720,
    "display_name": "A User",
    "parent_id": 25711,
    "deleted": false,
    "utc_last_updated": "2012-07-24 21:39:12+00:00",
    "filename_hash": "36e1237b957fa2002d264c5fd031c547",
    "filename": "Readme",
    "content": "what the eff",
    "content_rendered": "<p>what the eff</p>\n",
    "user_avatar_url": "https://secure.gravatar.com/avatar/49bd0ee69e520e8bc250adb95710bbb8?d=identicon&s=32",
    "line_from": 3,
    "line_to": 6,
    "utc_created_on": "2012-07-24 21:06:33+00:00",
    "is_spam": false
}

既存のチェンジセット コメントでスパム フラグを切り替える

comment_id によって識別されたチェンジセット コメントのスパム フラグを切り替えます。この呼び出しには認証が必要です。この呼び出しでは、次のパラメーターを使用します。

パラメーター 必須かどうか 説明
accountname はい The team or individual account owning the repo.
repo_slug はい The repo identifier.
node はい node チェンジセット識別子。
comment_id はい コメント識別子。
PUT  https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/changesets/{node}/comments/spam/{comment_id
ここをクリックして展開...
 {
    "username": "auserbb",
    "node": "abdeaf1b2b4a",
    "comment_id": 25720,
    "display_name": "A User",
    "parent_id": 25711,
    "deleted": false,
    "utc_last_updated": "2012-07-24 21:39:12+00:00",
    "filename_hash": "36e1237b957fa2002d264c5fd031c547",
    "filename": "Readme",
    "content": "what the eff",
    "content_rendered": "<p>what the eff</p>\n",
    "user_avatar_url": "https://secure.gravatar.com/avatar/49bd0ee69e520e8bc250adb95710bbb8?d=identicon&s=32",
    "line_from": 3,
    "line_to": 6,
    "utc_created_on": "2012-07-24 21:06:33+00:00",
    "is_spam": false
}
最終更新日 2018 年 6 月 14 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.