List and retrieve diffs with detailed revision information

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

{
    "id": 1094830,
    "revision": {
        "id": 497524,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f126a779bfeefa1bffa03ba58985b3177565903d",
        "head_changeset": "904714bee64ad767846c49eb83e3c5a663ec6068",
        "phabricator_id": 257789,
        "phabricator_phid": "PHID-DREV-zberwn2uwpjmkzqhyqwp",
        "title": "WIP: Bug 1972249 - Simplify H264 Encoder tests with different parameters",
        "bugzilla_id": 1972249,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497524/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497524/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257789"
    },
    "phid": "PHID-DIFF-bzjvsl4fyyasvlm2jmnz",
    "review_task_id": "dJFgQA2ZQx2HEqBmQAbU1A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7306043f973442286b6cb0b2c794d2e2d004e9f9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094830/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T23:42:05.238257Z"
}