List and retrieve diffs with detailed revision information

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

{
    "id": 1066747,
    "revision": {
        "id": 483441,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "42f3095b4fe8acbad24b91acb677b5291cffc7f7",
        "head_changeset": "8822af47f77fdd779c777aa14879d365ee631872",
        "phabricator_id": 254539,
        "phabricator_phid": "PHID-DREV-qkr5va2preejaz23kr3p",
        "title": "WIP: Bug 1973269 - Pass the URI directly to browser chrome page",
        "bugzilla_id": 1973269,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483441/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483441/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254539"
    },
    "phid": "PHID-DIFF-hpagmp3qjcwnwzetxmho",
    "review_task_id": "edClGn3fTqGyz1i7okw3Ng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8822af47f77fdd779c777aa14879d365ee631872",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066747/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T17:52:35.903668Z"
}