List and retrieve diffs with detailed revision information

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

{
    "id": 1072340,
    "revision": {
        "id": 485247,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "af095fbba257bf8e683b6445b5b494e777443473",
        "head_changeset": "7f47c91bed80fcc24be96b08078e32014efd7a64",
        "phabricator_id": 254971,
        "phabricator_phid": "PHID-DREV-mzeaxnlntwqi76n3ogcm",
        "title": "Bug 1970453 - Re-enable translations UI tests",
        "bugzilla_id": 1970453,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485247/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485247/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254971"
    },
    "phid": "PHID-DIFF-fz7htjv2tfoeluc7mvo2",
    "review_task_id": "U5BLiDb_Qx6eoZh1acewDw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7f47c91bed80fcc24be96b08078e32014efd7a64",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072340/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T15:31:28.687138Z"
}