List and retrieve diffs with detailed revision information

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

{
    "id": 1081236,
    "revision": {
        "id": 493639,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d58028c0fdaa41ceab934c98f10c8ad0f983b945",
        "head_changeset": "a58f03d2d5770e33746b4a564635bdb5b3c363e6",
        "phabricator_id": 256917,
        "phabricator_phid": "PHID-DREV-osj3ecih5a6522thoa6y",
        "title": "WIP: Bug 1976783 - Stop using XPCOM methods to get the mail session.",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493639/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493639/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256917"
    },
    "phid": "PHID-DIFF-jvlqngdu35k6mt2e4czf",
    "review_task_id": "egqkEqLvSYapOskOEpo07w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "cf3c7686b92df9e720f726430069b46852d1be63",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081236/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T04:36:11.462728Z"
}