List and retrieve diffs with detailed revision information

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

{
    "id": 1048897,
    "revision": {
        "id": 476454,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fc29b20e4a319f6f225a21a240d9be1abb81371a",
        "head_changeset": "88e3213000d6e40389459c582a40e50566bf0e15",
        "phabricator_id": 251386,
        "phabricator_phid": "PHID-DREV-sbxch6nsepkrmcxvxjzh",
        "title": "WIP: Bug 1957454 - Add taskcluster / taskgraph configurations for running Nightly newtab tests and XPI on Beta and Release. r?releng!",
        "bugzilla_id": 1957454,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476454/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476454/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251386"
    },
    "phid": "PHID-DIFF-7gmbhz2auxvsfzx5u4af",
    "review_task_id": "BypXD-0dRqaA-UCi-qmMlA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e40556d1f902e482b2f369469729b389f82d0315",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048897/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T03:50:47.615255Z"
}