List and retrieve diffs with detailed revision information

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

{
    "id": 1076182,
    "revision": {
        "id": 485349,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fe0b9a15726f6de26af5278ebfd5a543cc064940",
        "head_changeset": "c031985549101c910cf9558657dba646b3ee2572",
        "phabricator_id": 254987,
        "phabricator_phid": "PHID-DREV-kshyn6fmic2aukj7jjqg",
        "title": "Bug 1961402 - Replace checkbox with \"(current)\" in OS toolbar menu items. r=#profiles-reviewers",
        "bugzilla_id": 1961402,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485349/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485349/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254987"
    },
    "phid": "PHID-DIFF-rsuzb426bbc4xu2uvnmr",
    "review_task_id": "JQUlSl-sT42b1vN81CzLLw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "99f561d292469e607ae9aed0658e632cde5e60a2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076182/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T18:09:40.425009Z"
}