List and retrieve diffs with detailed revision information

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

{
    "id": 1105548,
    "revision": {
        "id": 512344,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "0e30a7ee97c116c23dcd31664dec88bbaf324e8f",
        "head_changeset": "afefbdd5aa54d9f09b2a16ec1ddda38e64dac3e3",
        "phabricator_id": 261016,
        "phabricator_phid": "PHID-DREV-epzzd63juobtzkmyg7bq",
        "title": "Bug 783526 - remove some leftover defines: NS_MSGCOMP_ERROR_BEGIN, NS_MSGCOMP_ERROR_END, IS_MSG_LINEBREAK. r=#thunderbird-reviewers",
        "bugzilla_id": 783526,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512344/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512344/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261016"
    },
    "phid": "PHID-DIFF-swzx27atbzs7fntljf2k",
    "review_task_id": "LxGtFFQLTZ2_jv-t4U1UFg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "afefbdd5aa54d9f09b2a16ec1ddda38e64dac3e3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105548/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T18:18:10.202180Z"
}