List and retrieve diffs with detailed revision information

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

{
    "id": 1080740,
    "revision": {
        "id": 486772,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "47d2305074e7678d1e69fc853de92c511f1fd6e5",
        "head_changeset": "67d5a034b306f5c7b2058de95146fffc07cc0e26",
        "phabricator_id": 254501,
        "phabricator_phid": "PHID-DREV-lggli4anevmpbzybvqko",
        "title": "Bug 1896280 - Limit maximal height of expanded attachment list in message browser. r=#thunderbird-reviewers",
        "bugzilla_id": 1896280,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486772/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486772/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254501"
    },
    "phid": "PHID-DIFF-2wlql5bd5fw5272aqshj",
    "review_task_id": "FdC2xVjqQKCtTlqog3ezmA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a82e0e0ba806443c9e9ed8910efd248ef7c9f21c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080740/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T11:54:46.608966Z"
}