List and retrieve diffs with detailed revision information

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

{
    "id": 1081345,
    "revision": {
        "id": 493899,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "51fbe322cce3626394ac84170607a847a0855ce5",
        "head_changeset": "c2fd258345f0bc86851b620b92e6ed77e778377b",
        "phabricator_id": 256959,
        "phabricator_phid": "PHID-DREV-3f7pyeutq35n2js6v3ue",
        "title": "Bug 1974173 - Show trending searches context menu on hover and focus only. r=#home-newtab-reviewers",
        "bugzilla_id": 1974173,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493899/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493899/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256959"
    },
    "phid": "PHID-DIFF-ontxd3bsec7myef6upsn",
    "review_task_id": "FFn5iCMBRg-XN6dt3piPIA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c2fd258345f0bc86851b620b92e6ed77e778377b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081345/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T08:43:26.008275Z"
}