List and retrieve diffs with detailed revision information

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

{
    "id": 1104252,
    "revision": {
        "id": 510729,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8a8028addc8ef776b6f2ce3ec7c88b1093ba706",
        "head_changeset": "df33d875312a25df3734849a9736491c8754a0a6",
        "phabricator_id": 260717,
        "phabricator_phid": "PHID-DREV-ed6cmnjaib5ebjfb3bh5",
        "title": "Bug 1982410: Suppress ::details-content box in mochitest browser_test_general.js to avoid breaking its expectations. r?jamie,morgan",
        "bugzilla_id": 1982410,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510729/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510729/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260717"
    },
    "phid": "PHID-DIFF-b3kkx7jx2nrj64dzv6cr",
    "review_task_id": "eO2nv7rqTt2olitiktxzYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "df33d875312a25df3734849a9736491c8754a0a6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104252/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T18:30:39.795778Z"
}