List and retrieve diffs with detailed revision information

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

{
    "id": 1053757,
    "revision": {
        "id": 477609,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "af27f60b54383ab819d67e4d5c2b415e3fa8b078",
        "head_changeset": "2b839fe5a6c6e0b26cee0e908df137214d880dff",
        "phabricator_id": 252705,
        "phabricator_phid": "PHID-DREV-lsuufcgpw2lxz555ya7z",
        "title": "Bug 1970672 - Notify nsIMsgFolderNotificationService on EWS message and folder operations. r=edicharry,#thunderbird-reviewers",
        "bugzilla_id": 1970672,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477609/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477609/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252705"
    },
    "phid": "PHID-DIFF-7kfu57vrg457w3zbffdn",
    "review_task_id": "cYHp5JMoQTCpyrLcwZZ_OA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "dadb5fd751cf63d0b0ebb3fbd301bf4493b76058",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053757/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T18:31:01.540153Z"
}