List and retrieve diffs with detailed revision information

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

{
    "id": 1054446,
    "revision": {
        "id": 477591,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0219774cc202f81882d12c05cae2432565391bdd",
        "head_changeset": "a47cda4a7683679b542fffbff332e30b5ea42067",
        "phabricator_id": 252681,
        "phabricator_phid": "PHID-DREV-knibvhvvjogllbk4syyl",
        "title": "Bug 1970390 - Sync the wasm records when none are found that match the major version; r?#translations-reviewers!",
        "bugzilla_id": 1970390,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477591/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477591/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252681"
    },
    "phid": "PHID-DIFF-66bzulpjlrluajchkfxu",
    "review_task_id": "X4_kfxLXTXKPSaWYyijV0Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "249eb54731a3ad1878885c1f45f637d80a85630b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054446/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T16:53:21.346417Z"
}