List and retrieve diffs with detailed revision information

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

{
    "id": 1088126,
    "revision": {
        "id": 493912,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5105fd7a90059a98cfefcfffe9e40664895a19ae",
        "head_changeset": "882b796684ad196ccc2f62d320f9c158ae12bcf7",
        "phabricator_id": 256963,
        "phabricator_phid": "PHID-DREV-xco63w47sy4vu6nvw2be",
        "title": "Bug 1976826 - Part 2: Factor out a class to convert from a bitmap iterator to an iterator over pointers into a block of memory r?sfink",
        "bugzilla_id": 1976826,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493912/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493912/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256963"
    },
    "phid": "PHID-DIFF-2jwhmo2kuf4mkhxsvyq7",
    "review_task_id": "A1e2KvDMRqu73cSAhOomUg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f3519e6bbcab8e7d789957da3609f750770f3a8e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088126/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T15:14:18.733697Z"
}