List and retrieve diffs with detailed revision information

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

{
    "id": 1032336,
    "revision": {
        "id": 471446,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4bbc39703afd169d2a2ff8f052faf2a95bd5f46d",
        "head_changeset": "b8d077bb05c01fcd44e899c193c7d6b7aa2af573",
        "phabricator_id": 244246,
        "phabricator_phid": "PHID-DREV-rsx7aiqiqgu6ipmetthk",
        "title": "Bug 1958081 - [devtools] Introduce a test framework to ease testing all possible JavaScript types against various codebases",
        "bugzilla_id": 1958081,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471446/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471446/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244246"
    },
    "phid": "PHID-DIFF-4waofzgp3mskpvuzedzt",
    "review_task_id": "S45CpS9NSLSM-erIzOX3lA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1444cf08157bef8971af4dcaad57abe33d397262",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1032336/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-13T09:01:40.722730Z"
}