List and retrieve diffs with detailed revision information

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

{
    "id": 1058093,
    "revision": {
        "id": 478334,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "06729049b993ddda70a2b84247c6140e15eff841",
        "head_changeset": "f5941b9ceb74fd7d3f862907f77ce7e97f55b727",
        "phabricator_id": 253589,
        "phabricator_phid": "PHID-DREV-h6faoth23en5kogfrrl2",
        "title": "Bug 1951038 - Get rid of the legacy white-space normalizer of `HTMLEditor` and the pref r=m_kato!",
        "bugzilla_id": 1951038,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478334/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478334/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253589"
    },
    "phid": "PHID-DIFF-bfe7gklnn2hmeco6kdpt",
    "review_task_id": "J5L_afU2SnCJk9rez0oosg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f269247d7ed58c8d99192887151089ccbf13ac78",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058093/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T01:19:02.360279Z"
}