List and retrieve diffs with detailed revision information

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

{
    "id": 1040915,
    "revision": {
        "id": 475689,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6f682f69506162b95dea83b305f708d8f4e94318",
        "head_changeset": "164a2f0a0ad955a4fb63e47f534d9d09ae98484a",
        "phabricator_id": 249936,
        "phabricator_phid": "PHID-DREV-2sedvdz5ivwjr7bvxzau",
        "title": "Bug 1963137 - Enable extensions.ml.enabled browser pref on all channels r?ngrato,rpl",
        "bugzilla_id": 1963137,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475689/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475689/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249936"
    },
    "phid": "PHID-DIFF-4pvmvjkojagw5ybhafmt",
    "review_task_id": "OBW8Gky3R9-q4QWpJRewMQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "54b32acf4bfccfc2c84c3f79575c400afb50d28b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040915/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T10:15:12.310849Z"
}