List and retrieve diffs with detailed revision information

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

{
    "id": 1078994,
    "revision": {
        "id": 491623,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f02209f56f063527d6ee9041181f01b4c845d998",
        "head_changeset": "b5bf746db51aaf6bb545ed50518a0f68210ad229",
        "phabricator_id": 256345,
        "phabricator_phid": "PHID-DREV-cbvuqbznvqrdwicrmg7j",
        "title": "WIP: Bug 1975872 - Certain `testGetValue` calls in browser/components/preferences/tests are unnecessarily awaited",
        "bugzilla_id": 1975872,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491623/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491623/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256345"
    },
    "phid": "PHID-DIFF-3d35wi35nisojsblohqb",
    "review_task_id": "WBuGVVllQHO0xA-2JnF6vg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b5bf746db51aaf6bb545ed50518a0f68210ad229",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078994/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T19:38:03.615885Z"
}