List and retrieve diffs with detailed revision information

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

{
    "id": 1112658,
    "revision": {
        "id": 518022,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85278cff23b35a7a9333e4192df9851173f472ab",
        "head_changeset": "0bcd43e966419dfa7230d6f2be4eb4dd36d2cb04",
        "phabricator_id": 262123,
        "phabricator_phid": "PHID-DREV-n65zd7jolvgcbqrge6n5",
        "title": "Bug 1984631 - CookieStore API: use the nsIURL.directory as path if empty, r?valentin",
        "bugzilla_id": 1984631,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518022/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518022/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262123"
    },
    "phid": "PHID-DIFF-gxe2rrhhzivf4l3v2dwg",
    "review_task_id": "Q5qJGO4XSb2EoiSX70bpeA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4df917f4c10bccb3f205bedeb1731f7d2fb6034d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112658/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T08:48:01.972000Z"
}