List and retrieve diffs with detailed revision information

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

{
    "id": 1059078,
    "revision": {
        "id": 479485,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d474f6453d6c9e8266f57b21e7d3bf06e0bbad53",
        "head_changeset": "2e41c08e801274e8bc7ec832edaaf117f8a9ed24",
        "phabricator_id": 249514,
        "phabricator_phid": "PHID-DREV-mgb3tp2yga7dhxy4gfsg",
        "title": "Bug 1966543 - Add automated tests for `pointercancel` target if another document comes under the pointer or moves away from underneath the pointer r?smaug!,edgar!,#dom-core",
        "bugzilla_id": 1966543,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479485/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479485/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249514"
    },
    "phid": "PHID-DIFF-fy2qg2fzf4suentf24os",
    "review_task_id": "NE2kzDmiSk6RMVM9UmlgEg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2e41c08e801274e8bc7ec832edaaf117f8a9ed24",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059078/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T07:57:12.240072Z"
}