List and retrieve diffs with detailed revision information

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

{
    "id": 1032338,
    "revision": {
        "id": 472129,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7e2aa745c44ce533aeab7d3fb696d50efba6860c",
        "head_changeset": "80238b660dd59bd5a8dcb52c4d3e762e01c01715",
        "phabricator_id": 245075,
        "phabricator_phid": "PHID-DREV-mb3wmpowdfpi27kfuxx5",
        "title": "Bug 1958081 - [devtools] Cover JS Tracer stringification with the new JS Objects test framework.",
        "bugzilla_id": 1958081,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472129/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472129/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245075"
    },
    "phid": "PHID-DIFF-yaufztmriooiphar5x4p",
    "review_task_id": "A_bnsQ9mS-agyuvq4h8h9w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ca96fba04b8cb890c502d8bd6820d1d2859a89c5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1032338/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-13T09:02:41.547722Z"
}