List and retrieve diffs with detailed revision information

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

{
    "id": 1051787,
    "revision": {
        "id": 450288,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "67ec343f7371867197cf934cb798dd9bb4630bd2",
        "head_changeset": "e86b3331b3b86d68d6cb9192ffe7f1bcbfe3a696",
        "phabricator_id": 237927,
        "phabricator_phid": "PHID-DREV-fs6u2tmikciwlf5ogiry",
        "title": "WIP: Bug 1095073 - Part 2: Clean up notification store on the first PNotification use",
        "bugzilla_id": 1095073,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/450288/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/450288/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D237927"
    },
    "phid": "PHID-DIFF-ln4l6t4wyb6mfjoofd6o",
    "review_task_id": "NuqevUaXSNOth4envN5HDA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8cb6b594beab7f0cd496feeaef70346b4f736b78",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051787/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T13:22:42.470492Z"
}