List and retrieve diffs with detailed revision information

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

{
    "id": 1080894,
    "revision": {
        "id": 493442,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ece8a72e9f72110aa423a06e6b582e183401520f",
        "head_changeset": "77c1fbeac7867959a0c7b00e135f41f2f872759f",
        "phabricator_id": 256828,
        "phabricator_phid": "PHID-DREV-c35fbye5q7sklpvf4nkn",
        "title": "Bug 1974107 - Reduce expected suppressions",
        "bugzilla_id": 1974107,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493442/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493442/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256828"
    },
    "phid": "PHID-DIFF-oc3bo22cbn5zxxwbkhch",
    "review_task_id": "NGcMt1LHQxqMZSxVJP6fCA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "77c1fbeac7867959a0c7b00e135f41f2f872759f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080894/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T16:51:40.844607Z"
}