List and retrieve diffs with detailed revision information

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

{
    "id": 1048899,
    "revision": {
        "id": 476493,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b72610598081438063ec58a79c3e12b2fedc7dc9",
        "head_changeset": "da0199a815682b3df4960643c287006c53f2b2df",
        "phabricator_id": 251436,
        "phabricator_phid": "PHID-DREV-euob4mxtuciokkahezcc",
        "title": "Bug 1958432 - Revert bug 1947223. r?botond,dlrobertson",
        "bugzilla_id": 1958432,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476493/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476493/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251436"
    },
    "phid": "PHID-DIFF-hk4yv2avv4yhzstjwwaq",
    "review_task_id": "C03ikdoMTbiTeYQcZKX0GA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4f46b7cd75faaa7398399a74c8ee87f02c635c55",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048899/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T03:43:14.794818Z"
}