List and retrieve diffs with detailed revision information

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

{
    "id": 1040439,
    "revision": {
        "id": 475007,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "f8d07b105b16a993b2ca2bc26840c25d98fc3d38",
        "head_changeset": "875e771e883d6492dffb0e0e10cafe15b66a6221",
        "phabricator_id": 249194,
        "phabricator_phid": "PHID-DREV-ozka5z7p2ykjrn3yptiz",
        "title": "Bug 1952044 - Add EncodeFilename() and DecodeFilename() to nsMsgUtils. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1952044,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475007/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475007/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249194"
    },
    "phid": "PHID-DIFF-z7p6afjqsqygxdklvqun",
    "review_task_id": "Ltb7ugrVRnK8uWeJJH_6Gg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c7c331f8afd71492acba45aa58f906b50273a975",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040439/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T23:21:06.046387Z"
}