List and retrieve diffs with detailed revision information

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

{
    "id": 1111996,
    "revision": {
        "id": 521115,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "3277ef6241c9693c1db5a12a13928b5b61a53637",
        "phabricator_id": 262585,
        "phabricator_phid": "PHID-DREV-xxfd4kkbts63lkxi63to",
        "title": "Bug 1985035 - Update tests that use `PingType.testBeforeNextSubmit` to ensure that the callback is running",
        "bugzilla_id": 1985035,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521115/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521115/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262585"
    },
    "phid": "PHID-DIFF-aib6xy3co5itpk6hn6pp",
    "review_task_id": "ZYthFkimRXqt7sTn4xz4Mg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3277ef6241c9693c1db5a12a13928b5b61a53637",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111996/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T15:29:50.681276Z"
}