List and retrieve diffs with detailed revision information

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

{
    "id": 1081232,
    "revision": {
        "id": 493733,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "294be83618f14d0372de40a009bfa5993b10038b",
        "head_changeset": "0cdc4e2b6638f9aea52d8534855cd71e51368730",
        "phabricator_id": 256943,
        "phabricator_phid": "PHID-DREV-k53fewm3ano22kmu3g3q",
        "title": "Bug 1974172 - Fix trending searches variant B context menu cut off. r=#home-newtab-reviewers",
        "bugzilla_id": 1974172,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493733/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493733/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256943"
    },
    "phid": "PHID-DIFF-nm2j4ltfjlsmmdsex37m",
    "review_task_id": "EswcIzJQR7OqBYK-wiaOqQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4763af60ed158b955b2007faeda711de4824c7a2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081232/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T04:37:09.296012Z"
}