List and retrieve diffs with detailed revision information

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

{
    "id": 1087740,
    "revision": {
        "id": 492417,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eaf95207f1cc1e1352a3369f2598d6aace236a18",
        "head_changeset": "cb3b8064775e4527f366919b78bcd1d55ddc6992",
        "phabricator_id": 256507,
        "phabricator_phid": "PHID-DREV-bcmprgxwjdg5kxvfbska",
        "title": "WIP: Bug 1975799 - Allow panel TreeWalker filter to accept elements with shadowRoots",
        "bugzilla_id": 1975799,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492417/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492417/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256507"
    },
    "phid": "PHID-DIFF-ojnrcw433ij6otor2wdt",
    "review_task_id": "R_pk0BHnQCiMunZ46ZmMXg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "89aee0e885015e8dab3f3d7628aaadda6eeb4dfb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087740/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T00:20:27.630805Z"
}