List and retrieve diffs with detailed revision information

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

{
    "id": 1079678,
    "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-rfm63zqykvl7hvv6o7xf",
    "review_task_id": "SNEBirEKSweSxeHFK7QB7g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eb14c615a54796ab86eb35fe39534a17c9e808d8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079678/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T18:49:20.015061Z"
}