List and retrieve diffs with detailed revision information

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

{
    "id": 1059141,
    "revision": {
        "id": 478111,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "25fcd6dd9dd53e78986357433541f732cc57bdbd",
        "head_changeset": "8a4d172b3d39ee675170c708523f1e84feb878f4",
        "phabricator_id": 252336,
        "phabricator_phid": "PHID-DREV-hk3h6e5yr3w57lo3k5qr",
        "title": "Bug 1969332 - Add text with link where it's needed.",
        "bugzilla_id": 1969332,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478111/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478111/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252336"
    },
    "phid": "PHID-DIFF-vrichjrt2j2vou4xzrfc",
    "review_task_id": "NP5CMPRoRkOLB35JXBG1hw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8ab94e100045aba11d1d3048c4eb16ae4b2a02d1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059141/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T10:13:53.641300Z"
}