List and retrieve diffs with detailed revision information

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

{
    "id": 1075812,
    "revision": {
        "id": 488685,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "3ef458305fa4b63ec25c59bec85dbc3a2044221a",
        "head_changeset": "5d726ec1628a9f2dec171e25699eac5a0e537fab",
        "phabricator_id": 255581,
        "phabricator_phid": "PHID-DREV-hljwbfsynrnbxetojzo7",
        "title": "Bug 1959858 - Add extra ForceFolderDBClosed() at end of compaction, in case something else started using the DB. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1959858,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488685/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488685/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255581"
    },
    "phid": "PHID-DIFF-y7ipy7riconlv4gibvyu",
    "review_task_id": "CUAYZYr-Qvit5qZNTDky-A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "97f1b794a4a429f4dce09b44261d221648b3865e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075812/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T08:00:24.957675Z"
}