List and retrieve diffs with detailed revision information

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

{
    "id": 1050055,
    "revision": {
        "id": 476908,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "5095ad4fee52d57114d5e6eed9b17a0a18c76f8c",
        "head_changeset": "6cc61eed92c7d9dafef17fa5fa86b6cfce12d004",
        "phabricator_id": 251917,
        "phabricator_phid": "PHID-DREV-f7msoiak5qfpvt52jtlv",
        "title": "WIP: Bug 1969272 - Prevent nsMsgCopyService::ClearRequest from causing stack overflow. r=#thunderbird-reviewers",
        "bugzilla_id": 1969272,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476908/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476908/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251917"
    },
    "phid": "PHID-DIFF-bbaxykcpjtr7uptjlffz",
    "review_task_id": "AIdkxlZlSLOF7EmsaKl_Jg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6cc61eed92c7d9dafef17fa5fa86b6cfce12d004",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050055/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T16:52:04.449045Z"
}