List and retrieve diffs with detailed revision information

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

{
    "id": 1107546,
    "revision": {
        "id": 514947,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "07509e06e11d34b39108bacb67d5d735d7152b53",
        "head_changeset": "f4eeec451cf83712bf347d69a4472bd46f5478c6",
        "phabricator_id": 261506,
        "phabricator_phid": "PHID-DREV-jxmabqklcsekhov2kunc",
        "title": "Bug 1964440 - fix(crashreporter): `upload_symbols`: skip non-file items in `*.tar.zst` archives r=gsvelto",
        "bugzilla_id": 1964440,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514947/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514947/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261506"
    },
    "phid": "PHID-DIFF-l2g6pa4bxvaimfzg6hlj",
    "review_task_id": "fi8f1yPjQPeIN6I8kXx05w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "39048b372b031518702e4d2b38b8b9bffa6d4c86",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107546/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T03:46:50.920794Z"
}