List and retrieve diffs with detailed revision information

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

{
    "id": 1103719,
    "revision": {
        "id": 485361,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "81a2242c6fc2b16833197335da270809c5c7ce1b",
        "head_changeset": "2832533f4135c7efb86fec889b60f965897f42ef",
        "phabricator_id": 254996,
        "phabricator_phid": "PHID-DREV-yzgebzuvlfytvbu7ter2",
        "title": "Bug 1973820 p2 - Aggregate and print GTest failures r=jmaher",
        "bugzilla_id": 1973820,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485361/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485361/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254996"
    },
    "phid": "PHID-DIFF-u2jmg5pswwvxdqplsqht",
    "review_task_id": "W8t_uHRxQ8S25-dxXE6xxw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2854c33de8b0164a4c27718e67fe0a59df473b13",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103719/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-09T03:08:56.054830Z"
}