List and retrieve diffs with detailed revision information

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

{
    "id": 1049679,
    "revision": {
        "id": 476227,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "979c6922e5f5eff45d95f328ab29ec216f05009a",
        "head_changeset": "ca0b7b2131e5ababe8d0999464e1c923ab31a5c3",
        "phabricator_id": 251048,
        "phabricator_phid": "PHID-DREV-ayes3wlbi2duy7euving",
        "title": "WIP: Bug 1908253 - Only allow trivially destructible types in a LifoAlloc",
        "bugzilla_id": 1908253,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476227/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476227/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251048"
    },
    "phid": "PHID-DIFF-nppuz77nobm5uehswhbo",
    "review_task_id": "VhPI61veT2eV8SIUZRBLUg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8efeca1539ca3b6ec8f6d85a2af3e62e5224080d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049679/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T02:56:34.426614Z"
}