List and retrieve diffs with detailed revision information

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

{
    "id": 1112589,
    "revision": {
        "id": 517701,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "cb9e8ed2ed5bf7d29885aeedf20e7a9810743b71",
        "head_changeset": "bfa8ce271525817add1fa86265ac4b71e64a1762",
        "phabricator_id": 262056,
        "phabricator_phid": "PHID-DREV-7qxc57yiryw7p3buw6u5",
        "title": "Bug 1984550 - Prevent attempting to import Thunderbird profiles from bad sources. r=#thunderbird-reviewers",
        "bugzilla_id": 1984550,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517701/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517701/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262056"
    },
    "phid": "PHID-DIFF-ol6aiez4xq33b467iirf",
    "review_task_id": "VVbmGBXZSDiRIVFqzWASfw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ff582d863f892ab81f60f25d8f98213f9fc1022b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112589/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T05:49:14.392111Z"
}