List and retrieve diffs with detailed revision information

GET /v1/diff/1059077/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1059077,
    "revision": {
        "id": 479482,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7a5a05919345c7a0cd52e7ec5cca6dd3d111af03",
        "head_changeset": "a6e959c7867564c118eb0037e482e57d621c33cd",
        "phabricator_id": 249253,
        "phabricator_phid": "PHID-DREV-zx72jr2pvku2lvjnfppd",
        "title": "Bug 1960236 - Add automated test for `pointercancel` event dispatcher if `dragstart` event listener restyles the target r=edgar!,#dom-core",
        "bugzilla_id": 1960236,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479482/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479482/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249253"
    },
    "phid": "PHID-DIFF-tdbxs372d55kt4aabdah",
    "review_task_id": "QXVc8OSuTY2emnCcqi5Wkw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a6e959c7867564c118eb0037e482e57d621c33cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059077/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T07:53:15.142439Z"
}