List and retrieve diffs with detailed revision information

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

{
    "id": 1074357,
    "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-ulb5xx3swmisbwbmodv7",
    "review_task_id": "Y18tC7CqQl6TYXbD0Gbs4g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "67d5a034b306f5c7b2058de95146fffc07cc0e26",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074357/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T14:12:15.890678Z"
}