List and retrieve diffs with detailed revision information

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

{
    "id": 1075788,
    "revision": {
        "id": 486831,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e2282b93feac9d91567250a175d35ab660ff9cae",
        "head_changeset": "25e095930680c72b2a218eafddb52d564eb6365d",
        "phabricator_id": 255324,
        "phabricator_phid": "PHID-DREV-2jvdrwjvtlponcs7dbek",
        "title": "Bug 1974162 - Expose update prompt handler on `AddonManager`. r?rpl!",
        "bugzilla_id": 1974162,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486831/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486831/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255324"
    },
    "phid": "PHID-DIFF-hwotk6gt5nbii7gi52ue",
    "review_task_id": "Ea4BxXCxTg-n8OwaeQW4rg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "802705b7dc6d292e85a70c5dda00d735634b8be7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075788/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T07:12:07.727841Z"
}