List and retrieve diffs with detailed revision information

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

{
    "id": 1105541,
    "revision": {
        "id": 512311,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46c725578b63f50651ca2af215fecf5f52bd6b2f",
        "head_changeset": "af9a0c04280fd4c7de6c43649d075d836e7b3011",
        "phabricator_id": 261012,
        "phabricator_phid": "PHID-DREV-jvajsktsih2sanzeujoh",
        "title": "Bug 1982895 - Add profiler markers for runnables run by IdleWrapperRunnable::TimedOut",
        "bugzilla_id": 1982895,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512311/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512311/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261012"
    },
    "phid": "PHID-DIFF-vxltbenikxhjkdheuyji",
    "review_task_id": "Lrz_JGGgRIe57bCd0CT4-Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "af9a0c04280fd4c7de6c43649d075d836e7b3011",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105541/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T17:45:39.572185Z"
}