List and retrieve diffs with detailed revision information

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

{
    "id": 1088135,
    "revision": {
        "id": 497124,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "99a28174ee7d801b040070358659f34517f04a80",
        "head_changeset": "e111043a3624c124d8a99bbaf71d47212a741f14",
        "phabricator_id": 257540,
        "phabricator_phid": "PHID-DREV-kj5pejm5j5gu52cafjdt",
        "title": "Bug 1976259 - Part 5: Add free regions from more than one chunk to the free lists when we run out r?sfink",
        "bugzilla_id": 1976259,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497124/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497124/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257540"
    },
    "phid": "PHID-DIFF-tkeyjeye34i4jjnf45jq",
    "review_task_id": "PDgs2sv8Rxy7VVCsIpE3vw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e111043a3624c124d8a99bbaf71d47212a741f14",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088135/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T15:12:32.437670Z"
}