List and retrieve diffs with detailed revision information

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

{
    "id": 1088195,
    "revision": {
        "id": 497162,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9dae8d2dae54c75d1fcc9fd21369b937848eefd1",
        "head_changeset": "a1c5a9d8584532575a2ebc77e18cdd492cd14a4e",
        "phabricator_id": 257726,
        "phabricator_phid": "PHID-DREV-c73zzd4uklnpp7ybn7qx",
        "title": "Bug 1977854 - Add PageSize to array buffers.  r=rhunt",
        "bugzilla_id": 1977854,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497162/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497162/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257726"
    },
    "phid": "PHID-DIFF-dwfpnfxvkypbywkxwe4m",
    "review_task_id": "H6-XZuPCRW2MJPZJgzImnQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ed5274849eea6851b4b5019959a4c39fd0b1882d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088195/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T16:00:56.702337Z"
}