List and retrieve diffs with detailed revision information

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

{
    "id": 1081240,
    "revision": {
        "id": 493640,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d58028c0fdaa41ceab934c98f10c8ad0f983b945",
        "head_changeset": "4a42cb7450a9950e17e50a83059cfb9c079fb457",
        "phabricator_id": 256921,
        "phabricator_phid": "PHID-DREV-kr3ibl4lng6ryizns6ky",
        "title": "WIP: Bug 1976783 - Stop using XPCOM methods to get the compose service.",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493640/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493640/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256921"
    },
    "phid": "PHID-DIFF-brebzsv2nme2vyk3zdpz",
    "review_task_id": "S3Vp0LPYReS76g-RE9o0lA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5bb6b389dc692e90cf11512d5d5c26f95494cea7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081240/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T04:36:41.067011Z"
}