List and retrieve diffs with detailed revision information

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

{
    "id": 1089294,
    "revision": {
        "id": 493913,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5105fd7a90059a98cfefcfffe9e40664895a19ae",
        "head_changeset": "7fafa0b4824f858c0d4050b6821b83444aac8115",
        "phabricator_id": 256965,
        "phabricator_phid": "PHID-DREV-5b4glyifxr4syvgrc27w",
        "title": "Bug 1976826 - Part 4: Pass old size to realloc methods r?sfink",
        "bugzilla_id": 1976826,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493913/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493913/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256965"
    },
    "phid": "PHID-DIFF-lcvf342evangb7io45wg",
    "review_task_id": "eXvqgSxqTYOj6UUFZho7mw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ab32f7f51b2131a62047bf82ab4b72bd751d7f79",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089294/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T08:28:53.928951Z"
}