List and retrieve diffs with detailed revision information

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

{
    "id": 1107696,
    "revision": {
        "id": 515224,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ced0a433f4160325c8f7124c6112483e87cd3244",
        "head_changeset": "b552194c5f503e2a1e98f1427c677cb1a363e9f6",
        "phabricator_id": 261538,
        "phabricator_phid": "PHID-DREV-eg7dun6pqjgoacx6rq4i",
        "title": "WIP: Bug 1977463 - Provide a dummy kMIDIPropertyProtocolID symbol so that coremidi works on macOS 10.15 too",
        "bugzilla_id": 1977463,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515224/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515224/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261538"
    },
    "phid": "PHID-DIFF-fbt6ttzodptdq7hanp2m",
    "review_task_id": "UUehQbJURNGy1KEIU6a1iw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b552194c5f503e2a1e98f1427c677cb1a363e9f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107696/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T11:20:44.963308Z"
}