List and retrieve diffs with detailed revision information

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

{
    "id": 1040588,
    "revision": {
        "id": 475806,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aef00c2601f2f7e95c6532cc1bff92ebadf6b925",
        "head_changeset": "18e12d9a44178ed2d4ade76399dc6d9b2e1aae6f",
        "phabricator_id": 250371,
        "phabricator_phid": "PHID-DREV-kgunj4abenz43ms2c6pg",
        "title": "Bug 1805365 - Allow wav files distributed within mp2 containers to retain an .mp2 extension when saving to disk.",
        "bugzilla_id": 1805365,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475806/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475806/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250371"
    },
    "phid": "PHID-DIFF-2c23jltsudoeqdd7xctg",
    "review_task_id": "U4yFc1FIQ76wy9WmxhGSUA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6d6bdba5a7bcdba160e588b09bce0ce7724abbe7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040588/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T01:58:10.804112Z"
}