List and retrieve diffs with detailed revision information

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

{
    "id": 1075726,
    "revision": {
        "id": 484924,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8934448a21ca9a774ccfb9cfc51303bda7e1577a",
        "head_changeset": "d0370eb76e76772ab49a85a7ffb427f8fcef0237",
        "phabricator_id": 254897,
        "phabricator_phid": "PHID-DREV-t4kgb6idnw7vwyrlkv7l",
        "title": "Bug 1970018 - Panorama version of AddMessageBatch() to use default timestamp for missing \"Date:\" header. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484924/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484924/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254897"
    },
    "phid": "PHID-DIFF-u2czc63skw6fzuvr4i4u",
    "review_task_id": "HvUfHotSRRaneB3ZNaULag",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "bf89af966957104655ceeba33673196b025b8c1d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075726/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T05:28:26.031382Z"
}