List and retrieve diffs with detailed revision information

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

{
    "id": 1103491,
    "revision": {
        "id": 508629,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62b93e0936e577dc3983b93027e7212a88bb0d38",
        "head_changeset": "fab2f9fdf9ce8fc0627ccb90a090ed57d7067bbd",
        "phabricator_id": 260406,
        "phabricator_phid": "PHID-DREV-ejznvx3sraexap5khjqw",
        "title": "Bug 1966443: Remove MacOS supportsNullBytes test from browser_removeUnsafeProtocolsFromURLBarPaste.js r=#mac-reviewers!",
        "bugzilla_id": 1966443,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508629/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508629/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260406"
    },
    "phid": "PHID-DIFF-habzdhohdfnlo4u3yhif",
    "review_task_id": "Sd_PGI84Q02z9WcG-m9k-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f368b2ce88a6d19017efc507b4621af226c0ae2a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103491/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T18:57:30.647253Z"
}