List and retrieve diffs with detailed revision information

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

{
    "id": 1089159,
    "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-wt6weayszw564tqcjvvi",
    "review_task_id": "AYl6Rfa3S6iDVYCRiVryng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9a8e055fed3d1545227de146e6827c4f2b2c40e0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089159/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-19T23:15:47.787770Z"
}