List and retrieve diffs with detailed revision information

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

{
    "id": 1080409,
    "revision": {
        "id": 492889,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fbb8fc6b4651fb25bfd11527bdfe05eb178147f0",
        "head_changeset": "7892cf9e7e89576e2c408489988306cb46e3b7a5",
        "phabricator_id": 256698,
        "phabricator_phid": "PHID-DREV-gw2eacmbf4tmdntppg3x",
        "title": "Bug 1976557 - Update Google Play Services Base to version 18.7.2. r=#android-reviewers",
        "bugzilla_id": 1976557,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492889/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492889/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256698"
    },
    "phid": "PHID-DIFF-jwkggfgo3hgcazocuzhp",
    "review_task_id": "X-oSN7m3SIySD5DL70ISYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7892cf9e7e89576e2c408489988306cb46e3b7a5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080409/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T20:41:01.486531Z"
}