List and retrieve diffs with detailed revision information

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

{
    "id": 1101552,
    "revision": {
        "id": 505965,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d04027ca04f674fde39b8ead1fb3b5c482d18ee3",
        "head_changeset": "d953f09878fabfaf9ee0f13ab6f8e7586b2bf5dd",
        "phabricator_id": 259754,
        "phabricator_phid": "PHID-DREV-7bxd74tewzu4i5lbgun5",
        "title": "WIP: Bug 1979332 - part 2: Filter out `WM_MOUSEMOVE` messages which are for temporarily restoring the mouse cursor r=#win-reviewers!,#dom-core",
        "bugzilla_id": 1979332,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505965/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505965/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259754"
    },
    "phid": "PHID-DIFF-hcsc3q56vjo6t4pc4yzv",
    "review_task_id": "H0HB_9CQSxe9MWZxQm1z2g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9c348d492b75060140bef70929370a244c079187",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101552/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T04:31:16.320882Z"
}