List and retrieve diffs with detailed revision information

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

{
    "id": 1087767,
    "revision": {
        "id": 495539,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "e694d5f4337514eb61fe3aa2ebc745bd5a9dfe2f",
        "head_changeset": "507228e06d03b73aa61c17e2ff74fdcb202ffa96",
        "phabricator_id": 257219,
        "phabricator_phid": "PHID-DREV-r4v3e3cv7t36ncnrvdzt",
        "title": "WIP: Bug 1975717 - EWS filtering - apply filters to incoming messages before they are added to the database.",
        "bugzilla_id": 1975717,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495539/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495539/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257219"
    },
    "phid": "PHID-DIFF-7cpjv4ry67c5mmyja7w7",
    "review_task_id": "T5meyLedTwqHWBSnIrYspw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "79c80a3e8b80ed35844e38c7150b82fa1d416d85",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087767/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T01:46:58.515820Z"
}