List and retrieve diffs with detailed revision information

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

{
    "id": 1054612,
    "revision": {
        "id": 477325,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "37c8687aca56d52e6a3090d66f73605baf4e06c9",
        "head_changeset": "bbd1651eec56a376138911695583006426fe4a93",
        "phabricator_id": 251665,
        "phabricator_phid": "PHID-DREV-yc6rax4hymcy3oqgyhly",
        "title": "WIP: Bug 1731418 - Added URLPattern webIDL implementations",
        "bugzilla_id": 1731418,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477325/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477325/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251665"
    },
    "phid": "PHID-DIFF-kp7yim4cfj3exkwjixia",
    "review_task_id": "HxtHREk5TTGncSrUp4sZgw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c220e7da14ebdef9cbd71b2fc0cf74671f24c249",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054612/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T20:54:37.261301Z"
}