List and retrieve diffs with detailed revision information

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

{
    "id": 1081163,
    "revision": {
        "id": 493644,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d58028c0fdaa41ceab934c98f10c8ad0f983b945",
        "head_changeset": "7c887b866e4fd4c8775702f2c922bc0a12fcbcdb",
        "phabricator_id": 256916,
        "phabricator_phid": "PHID-DREV-b3f4arimseyaouplrwsq",
        "title": "WIP: Bug 1976783 - Stop using XPCOM methods to get the IMAP service.",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493644/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493644/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256916"
    },
    "phid": "PHID-DIFF-qtb76sjdtn2qhaocupe6",
    "review_task_id": "YRDeyHNdTreApKqfAKoPIQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "7c887b866e4fd4c8775702f2c922bc0a12fcbcdb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081163/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T00:04:00.855070Z"
}