List and retrieve diffs with detailed revision information

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

{
    "id": 1057360,
    "revision": {
        "id": 478228,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "af9be8859a80aee6debde8704344a0f4b781c2dd",
        "head_changeset": "8b3aeb86abcaa4d3915f894d55b05adf9b083cad",
        "phabricator_id": 253455,
        "phabricator_phid": "PHID-DREV-4b75q3gkh4jgu3xcfzso",
        "title": "Bug 1966763 - Fix `ubuntu1804` test jobs r?ahal",
        "bugzilla_id": 1966763,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478228/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478228/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253455"
    },
    "phid": "PHID-DIFF-qdmv64l3l2mrqf5sipak",
    "review_task_id": "Tdd9qgLzQZK3o_m8e7EqZA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8b3aeb86abcaa4d3915f894d55b05adf9b083cad",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057360/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T07:06:06.374586Z"
}