List and retrieve diffs with detailed revision information

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

{
    "id": 1076384,
    "revision": {
        "id": 489227,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fc8fb2b7d182c0d241d5a9c2e2789821b8d38b28",
        "head_changeset": "9669ddc2a48288eec1617a87310f79f05ac97400",
        "phabricator_id": 255727,
        "phabricator_phid": "PHID-DREV-hbjz52x6eofqimt637e5",
        "title": "Bug 1974913 - part 4: Make `AutoInsertParagraphHandler` and `AutoInsertLineBreakHandler` use shared helper methods to make the handler body smaller r=m_kato!",
        "bugzilla_id": 1974913,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489227/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489227/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255727"
    },
    "phid": "PHID-DIFF-lp546ggnjqen4y7exe4p",
    "review_task_id": "A9iNM0ljTgCTfP9pEFTsHQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9669ddc2a48288eec1617a87310f79f05ac97400",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076384/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T01:21:20.745873Z"
}