List and retrieve diffs with detailed revision information

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

{
    "id": 1051227,
    "revision": {
        "id": 476104,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "29814a28732ef4900890f7bf10ad9bdc7c2b36df",
        "head_changeset": "0b9fdbc0d5e92e012d0166e1cfa91387467d3985",
        "phabricator_id": 250836,
        "phabricator_phid": "PHID-DREV-pslvnudvvprb4ikutwhp",
        "title": "WIP: Bug 1967594 - remove pocket.svg",
        "bugzilla_id": 1967594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476104/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476104/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250836"
    },
    "phid": "PHID-DIFF-2irqu5vwwchmp3pmp3ts",
    "review_task_id": "ATj9tVmNT-CU4Yk8aBuP6w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "44696b0103064d2772ce71ed3ace5de8e6bffcdd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051227/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T17:39:56.845493Z"
}