List and retrieve diffs with detailed revision information

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

{
    "id": 1074228,
    "revision": {
        "id": 486647,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f6d960e567bd265b1d2478c7ad6868b6872cd22",
        "head_changeset": "6977ce0e395e7b868693fc1245aee0dfb97a9380",
        "phabricator_id": 255279,
        "phabricator_phid": "PHID-DREV-apghgpmda2wm3msqco6h",
        "title": "WIP: addDataCollector generated implementation",
        "bugzilla_id": null,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486647/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486647/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255279"
    },
    "phid": "PHID-DIFF-cvbp33ktxnsnalufxtui",
    "review_task_id": "S67E34VeT0Kd11TSEypu9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6977ce0e395e7b868693fc1245aee0dfb97a9380",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074228/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T12:10:01.995044Z"
}